Linux - Command Lines & Directories
This week's reading was about the Command Line Interface and the directory structure which Linux uses.
Previously, I had learned some of the commands on a Mac terminal, so a lot of the basic commands I already knew. Like I knew that ls would list the files and directories. I also knew that 'cd' would change directories and that 'grep' would search files for specific text criteria. However, I did learn a few quick keys from reading on this. Like the ~ will take you to the home directory of the user. Entering shred will permanently delete the files from the system, and you can specify how many times you would like for it to overwrite the data to make retrieving the information a lot harder.
With the File Hierarchy Structure, I learned a bit. It is quite different from Windows in how it formats the file system. It is interesting that it doesn't partition drives like Windows and that it has designated folders for each purpose. Like how /var contains temporary data which changes constantly - like user mailboxes, print queues, log files, etc. Also, /etc contains a lot of the configuration files, which the user can customize to their own preference.
The file structure will take getting used to. Command Line is fun! So, I won't mind playing around with that. I think through CLI, I could eventually retain the FHS for Linux.
No comments:
Post a Comment