Photo Test
Subscribe
More About This Website

Well, you've made it this far so I guess I should talk about something.

Let's see.... mmm

I'll start with my job an give you some real project I've been working on. So I'll speak about computer hardware, VMware, Unattended Windows installation, VBScript, XML, Website, and some other stuff. Enjoy!

Login
« Log for VMware Server | Main | A Little Story, It's about PayPal & Ebay »
Sunday
03Dec2006

Linux/Unix Command Hand Book

I've decided to write down the command/program I am currently learning in my book SAMS Teach Yourself UNIX in 24 Hours and tested on my Ubuntu Server.

Work in progress...

alias [create custom command shortcut]
apropos [info about a command]
awk [scanning and text processing]
bg [BackGround job monitoring?]
cal [CALandar]
cat [conCATenate]
cc [Compile in C]
cd [Change Directory]
chown [CHange OWNer]
chmod [CHange MODe (file access permission)]
chsh [CHange login SHell]
clear [clear terminal screen]
compress [file compression utility]
cp [CoPy file or folder]
cpio [CoPy In and Out of archive]
cut [remove section from each line of file]
date [diplay the current date]
df [Disk Free]
dig [DNS Lookup utility]
du [Disk Usage]
echo [display a line of text]
egrep [print line matching a pattern]
env [user ENVironment settings]
exit [logout]
fg [re-run last program?]
fgrep [print line matching a pattern]
file [determine file type]
find [search for file]
finger [user info]
free [display memory usage] 
ftp [internet File Transfert Protocol program]
grep [print line matching a pattern]
gzip [compress or expand files]
gunzip [compress or expand files]
head [output the first part of a file]
help []
history [list command used]
host [static name table lookup]
id [display user]
jobs [display programs status]
kill [send signal to process]
logout []
lp [Line Printer]
ln [make LiNks between files]
ls [LiSt directory content]
lsmod [LiSt kernel MODule status]
lspci [LiSt PCI device and hardware]
man [MANual]
make [utility to maintain groups of programs]
mesg [write access to terminal (MESsaGe)]
mkdir [MaKe DIRectories]
more [screen file viewer]
mount [mount a file system]
mv [MoVe or rename files]
passwd [change user PASSWorD]
pinky [lightweight finger command]
poweroff [shut down system]
ps [ProceSs list]
pwd [Present Working Directory]
reboot [restart system]
rlogin [Remote LOGIN - open ssh client]
rm [ReMove (file)]
rmdir [ReMove empty DIRectory]
scp [Secure remote CoPy]
set [define variable]
shutdown [restart process?]
sort [sort line of text file]
source [?]
start [job control utility]
sudo [execute a command as root - SUperuser]
tail [output the last part of a file]
tar [archiving utiliry]
telnet [user interface for telnet session]
time [system ressource usage]
top [process monitor]
touch [create file or modify timestamp]
tty
uncompess
umask
umount
uniq
users
useradd
w
wc
wget
whatis
which
who
whoami
who am i
wrongwords

 
ls

Interesting flags:
-a [List all files, including dot files]
-F [Indicate file types: / for directory, * for program, @ for symbolic link]
-l [long listing]
-R [Recursive]
-s [Show size of files]

Others flags: m,d,C,1,x,t,r

Example of Favorite combination:
ls -laF

Reader Comments (1)

grep port: ssh

#grep ssh /etc/services
#netstat -ntpul|grep ssh
December 27, 2008 | Unregistered CommenterLochan

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.