CPNT217 - 15. Basic Linux Administration
CPNT217 - 15. Basic Linux Administration
to Network Systems
Module 5: Basic Linux Administration
Linux
Why use Linux?
Recycle Bin
(There are many more folders, such as /usr, which is read-only and contains applications and files for users (as opposed to those
used by the system), and /var, which contains log files and data written by applications from the /usr folder.)
The root filesystem
• Controls for:
• Networking
• Disk Management
• Stored Passwords
• Backups
and other things.
Utilities
Other commands in this category include chown and chgrp, Indicates directory
which change the owner or group entitled to the file
respectively.
Unix File Listing
-rw-r--r-- 1 johnston staff 536 Sep 16 20:35 .myfile
Names Copy of
(cp) Copy command Names
and Names
and
Phone and
Phone
Numbers Phone
Numbers
Numbers
Names Link to
(ln)[1] Link command Names
and Names
and
Phone and
Phone
Numbers Phone
Numbers
Numbers
[1] ln – lower-case L
Symbolic Links
[1] ln – lower-case L
File Viewing
• Redirection
• Normally the output of a command goes to the screen
• Redirection allows you to send it somewhere else like a file
• ls > file.txt
• Pipes
• Allow you to take the output from one command and send it to
the input of another command
• firstcommand | secondcommand
• ls | more
Additional File Commands