Saturday, January 24, 2009

UNIX Commands

A
alias

B
bash --------------- bash shell

C
cat --------------- Read content of a file
cat abc.txt


chgrp

chmod
chmod g+w abc/ --------------- Add write rights to abc directory's group rights only
chmod -R g+w abc/ --------------- Add write rights to abc directory's group rights and files within
chmod a-x *.cpp --------------- Take away all categories execute rights that are cpp extension
chmod -R a+r abc/ --------------- Add read rights to abc directory's group rights and files within
chmod -R 777 abc/ --------------- Change abc directory and files within access rights to rwx

chown

cp --------------- duplicate another file in another location
cp abc.txt /anotherUser/Documents/abc.txt


csh --------------- C shell


D
devfsadim --------------- Detects new components in System
df --------------- See Disk Partition


E
echo

export

eject


F
format --------------- Format Utilities


FTP
# ftp destination's IP
ftp > get remote file local file --------------- take file from remote computer
(source) (destination)
ftp > put local file remote file --------------- store file to remote computer
(source) (destination)


G
grep

groupadd

groupmod


H

I
init 0
init 5
init 6

J

K

L
ls

ln -s source-file myfile --------------- Create link file

M
more -------------- Read content of a file in a page
more abc.txt


mount

mv --------------- rename


N

O

P
passwd


Q

R
rlogin --------------- Remote Login from other Computers of the same computer

rsh - Remote Shell


S

T
tar -cvf
tar -xvf abc.tar --------------- extract to abc directory

tip hardwire


U
useradd --------------- Create user


V
vi --------------- Run vi editor
W

X
xhost


Y

Z

No comments:

Post a Comment