• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/60

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

60 Cards in this Set

  • Front
  • Back
  • 3rd side (hint)
file
determine file type
cal
displays a calendar and the date of Easter
cat
concatenate files and print on the standard output
cat f - g
Output f's contents, then standard input, then g's contents.
chmod
change file mode bits
cp
copy files and directories

cp [OPTION]... [-T] SOURCE DEST
date
print or set the system date and time
fold
wrap each input line to fit in specified width
man fold | fold -s -w 20
sends man page for fold to width of 20 (-w 20) and break at spaces (-s)
head
output the first part of files
man head | head -n 5

print first 5 lines
ls
list directory contents
-a do not ignore entries starting with .
-l use a long listing format
make
GNU make utility to maintain groups of programs
mkdir
make directories
more
file perusal filter for crt viewing
pg
browse pagewise through text files
split
split a file into pieces
split -l 10 man_split
Split file man_split into 10 line files
xaa xab xac ...
wildcards
* zero or more
? exactly one
[abc] exactly one of the letters listed
[a-e] a letter in range
[!a-e] not a letter in range
{debian,linux} one word listed
can use many
*{test1,test2}?
look
display lines beginning with a given string
look word file
diff
compare files line by line
can compare directories as well
apropos
search the manual page names and descriptions
ps
report a snapshot of the current processes.
ps aux To see every process on the system
ps -e every process
a Lift the BSD-style "only yourself" restriction
e Select all processes.
x Lift the BSD-style "must have a tty" restriction
u
w
Show who is logged on and what they are doing.
wc
print newline, word, and byte counts for each file
-c print the byte counts
-m print the character counts
-l print the newline counts
find
search for files in a directory hierarchy
find /home -name *ods
uname
print system information
uname -a
Linux MCD-Mint 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
pstree
display a tree of processes
kill
send a signal to a process
kill -9 -1 Kill all processes you can kill.
killall
kill processes by name
killall sends a signal to all processes
service
service -
service --status-all
/etc/init.d
The directory containing System V init scripts.
dd
block by block copy
tar
The GNU version of the tar archiving utility
tar -cf archive.tar foo bar
Create archive.tar from files foo and bar.
tar -xf archive.tar
Extract all files from archive.tar.
dump
filesystem backup
restore
restore files or file systems from backups made with dump
lp
send to printer
lp -d Printer_Name
lpstat
print cups status information
history
History Library
history | grep ssh
!
!56 repeat #56 from history
!-2 Repeat 2 prior
cups
common unix printing system
http://localhost:631
strace
trace system calls and signals
In the simplest case strace runs the specified command until it exits.
strace ls
fuser
identify processes using files or sockets
lsof
list open files
mount
mount a filesystem
mount --bind olddir newdir
/etc/fstab
static information about the filesystems
swapinfo
report available swap space
df
report file system disk space usage
dw
estimate file space usage
vmstat
Report virtual memory statistics
iostat
reports I/O statistics
sar
system activity reporter
fs_usage
reports system calls and page faults
uptime
system uptime and load stats
xload
system load gui
netstat
Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
hostname
returns the system hostname
ifconfig
displays network interface information
ifconfig -a lists all interfaces and their IP information

netstat
Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
ssh
Secure Shell
ssh user@server
.ssh
in users home directory and contains known_hosts file and keys
httpd
apache demon
reads the httpd.conf at boot
command to find a process
ps ax | grep http
command to start a service
sudo /sbin/service service start