Shared Flashcard Set

Details

Unix
Unix System Administration
41
Computer Science
Undergraduate 4
01/24/2011

Additional Computer Science Flashcards

 


 

Cards

Term
Unix Command form
Definition
command -flags operand
Term
Flags
Definition
Single Character (-x)
Multiple Characters (--list)
Term
Login as SuperUser
Definition
su
Term
Allow others to run apps as root
Definition
sudo
Term
UNIX Shell functions
Definition
Starts, stops, and manages processes
Manages files
Commands can be entered manually or scripted
Term
Login shell
Definition
started automatically at user login
stored in /etc/passwd
parses startup scripts in user home directory (~/.login, ~/.cshrc, ~/.profile)
Term
Interactive shell
Definition
non-login shell that allows user to enter commands
Term
Non-interactive shell
Definition
normally contains scripts
inherits from parent shell
Term
C Shell
Definition
/bin/csh
uses C language scripting syntax
Term
Korn Shell
Definition
/bin/ksh
introduced command line history and tab completion
Term
/bin
Definition
executable files
Term
/dev
Definition
placeholder for devices
Term
/etc
Definition
configuration information
Term
/sbin
Definition
configuration information
Term
/lost+found
Definition
lost files directory
Term
/proc
Definition
running processes
Term
/usr
Definition
locally generated programs (apps are installed here)
Term
/home
Definition
user directories
Term
/var
Definition
spooling and other temp system data
Term
mount command
Definition
mount /dev/device /mount_point
Term
unmount
Definition
umount /mount_point
Term
location of auto mounted filesystems
Definition
/etc/fstab
Term
list file characteristics
Definition
ls
Term
mv
Definition
move file
Term
rm
Definition
remove file
Term
Force (prevent confirmation upon delete)
Definition
-f
Term
Recursive
Definition
-R
Term
Three owners of every file
Definition
Individual
Group
Everyone (global)
Term
view ownership
Definition
ls -l
Term
change ownership
Definition
chown user.group /dir/file
Term
change only the group ownership
Definition
chgrp group /dir/file
Term
Basic Permissions of a file
Definition
Read / Write / Execute
Term
displayed in ls -l as
Definition
filename -rwxrwxr-x
rwx for owner
second for group
third for everyone
Term
Symbolic Link
Definition
just a pointer
delete the link, target remains
Term
Hard Links
Definition
direct link between link and file
Term
creating a link
Definition
ln -s source target
Term
Pipe
Definition
| - sends output of program a to input of program b
Term
Redirects
Definition
redirect output to something other than stdout

ls -l > filename
Term
search for a string
Definition
grep
Term
find files
Definition
find / -type f maxdepth 6 -name tar
Term
compare directories
Definition
dircmp
Supporting users have an ad free experience!