NET 4000 Chapter Notes - Chapter 1.5.3: Hard Disk Drive, Chattr, Inode
Document Summary
The following table describes several basic commands that can be used to manage files: If the file does not exist, it creates a blank version of the file. If the file does exist, it updates the file"s modification and last accessed times. Displays the contents of a file in the shell. This command can display multiple files at once. Displays the contents of a file, pausing one screen at a time. Use the spacebar to scroll to the next screen. Use the up arrow and down arrow to scroll up and down. Lists the first 10 lines of a specified file. Use the -n option to specify a specific number of lines to display. Lists the last 10 lines of a specified file. The file command is useful because linux does not require file extensions. Moving files erases the source file and moves it to the destination. F overwrites files that already exist in the destination directory.