Reading-Notes

Prep: Practice in the Terminal

The Command Line:

Basic Navigation:

Next 9 characters are permissions for the file or directory.

The next field is the number of blocks (don’t worry too much about this).

The next field is the owner of the file or directory (ryan in this case).

The next field is the group the file or directory belongs to (users in this case).

Following this is the file size.

Next up is the file modification time.

Finally we have the actual name of the file or directory.

More About Files:

Manual Pages:

The manual pages are a set of pages that explain every command available on your system including what they do, the specifics of how you run them and what command line arguments they accept.

If you want to search within a manual page this is also possible. To do this, whilst you are in the particular manual page you would like to search press forward slash ‘/’ followed by the term you would like to search for and hit ‘enter’ If the term appears multiple times you may cycle through them by pressing the ‘n’ button for next.

File Manipulation:

When we use cp the destination can be a path to either a file or directory. If it is to a file … then it will create a copy of the source but name the copy the filename specified in destination. If we provide a directory as the destination then it will copy the file into that directory and the copy will have the same name as the source.

Cheat Sheet:

Here is a link to Ryan’s Linux Tutorial Cheat Sheet