LINUX Commands - real world
==============================================================================
alias Create an alias ( ex: alias ll="ls -al" )
awk Find and Replace text, database sort/validate/index
==============================================================================
bash GNU Bourne-Again SHell
bg Send to background
==============================================================================
cal Display a calendar
cat Concatenate and print (display) the content of files
cd Change Directory
chmod Change access permissions
chown Change file owner and group
chkconfig System services (runlevel)
clear Clear terminal screen
cmp Compare two files
command Run a command - ignoring shell functions
cp Copy one or more files to another location
cut Divide a file into several parts
==============================================================================
date Display or change the date & time
dd Convert and copy a file, write disk headers, boot records
df Display free disk space
diff Display the differences between two files
dmesg Print kernel & driver messages
du Estimate file space usage
==============================================================================
echo Display message on screen
eject Eject removable media
env Environment variables
exit Exit the shell
export Set an environment variable
==============================================================================
fdisk Partition table manipulator for Linux
fg Send job to foreground
file Determine file type
find Search for files that meet a desired criteria
free Display memory usage
fsck File system consistency check and repair
fuser Identify/kill the process that is accessing a file
==============================================================================
grep Search file(s) for lines that match a given pattern
==============================================================================
head Output the first part of file(s)
history Command History
hostname Print or set system name
==============================================================================
ifconfig Configure a network interface
ifdown Stop a network interface
ifup Start a network interface up
==============================================================================
jobs List active jobs
==============================================================================
kill Stop a process from running
killall Kill processes by name
==============================================================================
less Display output one screen at a time
ln -s Create a symbolic link to a file
locate Find files
ls List information about file(s) (ls -al)
lsof List open files
==============================================================================
man Help manual
mkdir Create new folder(s)
more Display output one screen at a time
mount Mount a file system
mv Move or rename files or directories
==============================================================================
netstat Networking information
nice Set the priority of a command or job
nohup Run a command immune to hangups
nslookup Query Internet name servers interactively
==============================================================================
o
==============================================================================
passwd Modify a user password
ping Test a network connection
ps Process status
pwd Print Working Directory
==============================================================================
==============================================================================
read Read a line from standard input
reboot Reboot the system
rm Remove files
rsync Remote file copy (Synchronize file trees)
==============================================================================
scp Secure copy (remote file copy)
sed Stream Editor
shutdown Shutdown or restart linux
sleep Delay for a specified time
sort Sort text files
ssh Secure Shell client (remote login program)
su Substitute user identity
sudo Execute a command as another user
==============================================================================
tail Output the last part of file
tar Store, list or extract files in an archive
tee Redirect output to multiple files
test Evaluate a conditional expression
time Measure Program running time
touch Change file timestamps
top List processes running on the system
traceroute Trace Route to Host
tr Translate, squeeze, and/or delete characters
==============================================================================
ulimit Limit user resources
umask Users file creation mask
umount Unmount a device
unalias Remove an alias
uname Print system information
uniq Uniquify files
uptime Show uptime
useradd Create new user account
userdel Delete a user account
usermod Modify user account
==============================================================================
vi Text Editor
vmstat Report virtual memory statistics
==============================================================================
wc Print byte, word, and line counts
whereis Search the user's $path, man pages and source files for a program
which Search the user's $path for a program file
while Execute commands
who Print all usernames currently logged in
whoami Print the current user id and name (`id -un')
wget Retrieve web pages or files via HTTP, HTTPS or FTP
==============================================================================
xargs Execute utility, passing constructed argument list(s)
==============================================================================
==============================================================================
zip Package and compress (archive) files.
==============================================================================
. Run a command script in the current shell
!! Run the last command again
### Comment / Remark
==============================================================================
-- Linux commands, scripts, tools and systems administration --
|