1/26
Flashcards for CMPSC 311 - Introduction to Systems Programming, covering UNIX essentials and command-line interface concepts.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Unix Philosophy
Write programs that do one thing and do it well.
Modularity
Thinking in terms of components.
Transparency
Making inspection and debugging easier.
Command Line Interface
Efficient and powerful, scriptable, simple and reliable.
Shell Program
Interprets built-in commands, runs other programs, and runs shell scripts.
/ (root)
Root directory of the entire filesystem.
/usr
Installed software.
/home
Users' own files.
/tmp
Temporary files.
Root (Super User)
Can do anything.
su
Administrative privileges.
sudo (su 'do')
Temporary privileges (per command).
ls
Listing files.
mv
Moving/copying files.
rm
Deleting files.
cat
Reading files.
touch
Creating files.
pwd
Print working directory.
cd
Change directory.
mkdir
Creating directories.
rmdir
Removing directories.
.
The current directory.
..
The parent directory.
~
Home directory.
help
Built-in option to most commands for help.
man
Displays the manual page for a command.
Shell script
A list of commands to run.