LATEST UPDATE (ALREADY GRADED A+)
linux command interacts with
the OS, including the kernel and shell
command help option
--help
apropos
searches man pages for names and descriptions
info [command]
finds information about command
man <command>
to find information about command
man pages
detailed descriptions of commands, system calls, C library functions, etc.
ls
list directory contents
cd
change the working directory
pwd
print the name of the working directory
cp
copy a file and directory
rmdir
remove an empty directory
touch
change file timestamp or create empty file if not exist
, wc
print number of lines, words, and chars in a file
sort
sort lines of a file numerically or alphabetically
top
display dynamic view of running processes
netstat
print network statistics
pstree
print a tree of processes
kill
send a signal to terminate a process
ps
print snapshot of current processes
who
display current users logged on the system
whoami
print effective userid
groups
print the groups that user is in
which
locate a command
whereis
locate the binary, source, & man pages files for a command
find
search for files in a directory hierarchy
locate
find files by name
grep