We use the touch command to create files.
We can tell the difference between files and directories when using ls with the -l option
Then we go over the UNIX standard guide for naming UNIX files, they should be:
Filenames should only use lowercase a-z, 0-9, periods, underscores, and hyphens.
Always use file extensions.
Don't start your filename with a hyphen
Linux is case sensitive so myfilename.txt and Myfilename.txt are two different files on a Linux system.
Control "A" will take the cursor to the beginning of the command line command
Control "E" will take the cursor to the end of the command line command
You can include spaces in your filename by surrounding it with quotes or use backslash before the space (backslash is the escape character)
Touch will update the timestamp if that file already exists.
Directories are created by typing mkdir and then the new directory name.
See the complete LCL playlist at: https://www.youtube.com/watch?v=JMT5CGFxa_4
Website link:
https://thefrugalcomputerguy.com/linux/seriespg.php?ser=10020
5 Comments