Open main menu

CDOT Wiki β

Changes

Tutorial2: Unix / Linux File Management

334 bytes added, 16:37, 6 January 2020
Pathnames
</td></tr><tr><td>'''/home/username'''</td><td>A Particular User's Home Directory</td></tr><tr><td>'''/bin'''</td><td>Common system binaries (commands) </td></tr><tr><td>'''/usr/bin'''</td><td>Common utilities (commands) for users. </td></tr><tr><td>'''/usr/sbin'''</td><td>Common utilities for system administration </td></tr><tr><td>'''/etc'''</td><td>System administration files (eg. passwd)</td></tr><tr><td>'''/var'''</td><td>Dynamic files (log and mail files)</td></tr><tr><td>'''/tmp , /var/tmp'''</td><td>Temporary files for programs</td></tr><tr><td>'''/dev'''</td><td>Device driver files (terminals, printers, etc.)
</td></tr></table><br>
 
 
Every user when receiving an account has a “home” directory created (/home/userid). This is where the user keep subdirectories and personal files
~ represents your home
– You can use the ~ symbol in pathnames
A cd command without any argument will get you directly to your home directory
Remember to keep your files private
=INVESTIGATION 1: MANAGING DIRECTORIES=
13,420
edits