Linux Flashcards
What shells are available in Linux?
C-shell, Bourne shell, Korn shell, and Bash shell. We use Bash shell.
What does ASCII stand for?
American Standard Code for Information Interchange
What are the create and append redirection characters?
> and»_space;
How to define a path to a give username?
~username
What are the p i r copy options?
p == preserve time stamp
i == interactive confirmation
r == recursive
What are the a l F t h r R options for ls?
a == all l = long format h = human readable format t = sort by time stamp r = reverse order F = display file type R = recursive
What are the n and l options for grep?
n == display line numbers
l == list only the filenames
How do you locate a command or list an alias?
which
What does the su command do?
Switch User
How do you remotely login to another system?
rlogin system or telnet system
How do you bring graphics from another system?
setenv DISPLAY local_machine_name:0.0
What are the three types of ownership?
User (u) Group (g) and Other (0)
What are that three types of permissions?
read (r) write (w) and execute (x)
What is the command to see disk usage, and common options?
du
- h == with a unit
- s == sum everything
What is the command to see process status, and common options?
ps
- e every process running
- f full listing
- u belonging to username