notes Unix

notes Unix - Typical Unix/Linux Directories / Root...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Typical Unix/Linux Directories / Root directory (ancestor to all directories). /home Used to store users’ home directories. /bin Common system binaries (commands). /usr/bin Common utilities (commands) for users. /usr/sbin Common utilities for user administration. /etc General System Admin. Files (eg passwd) /var Dynamic files (log files) /tmp, /var/tmp Temporary files for programs /dev Device files (terminals, printers, etc.) Why make files hidden? To clean up directories To hide backups To protect important files from accidental deletion Common Commands pwd will show your current directory cd is used to change current directory, eg. cd directory-name ls - lists information about files and directories o ls -a - all files (including hidden) o ls -l - long form, gives more information about files o ls -F - indicate directories with a slash, executables with an asterisk o ls -d - gives information about the directory itself, not contained files
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

notes Unix - Typical Unix/Linux Directories / Root...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online