You are on page 1of 14

Linux Commands

badblocks
. (badblocks device)
(badblocks hda)
df
. (df k, df -h)
du
. (du <directory>, du
sk <directory>, du sh <directory>)
fsck .
. (fsck
<filesystem>)

Linux Commands


sync
. `sync'
.
mount .
. (mount <filesystem>,
mount a)
umount .
. (umount <filesystem>)

Linux Commands


dnsdomainname Show the systems DNS domain name
hostname

nisdomainname NIS/YP
domain name
ypdomainname
domain name

NIS/YP

Linux Commands


arp
arp cache.
dig domain
.
finger
. Ex: finger Deepak

ftp . (ftp <remote system


name/ip)
ifconfig . Ex:
ifconfig eth0 address 172.31.2.2 netmask 255.255.0.0
ifdown . Ex: ifdown
eth0
ifup . Ex: ifup eth0

Linux Commands


Netconf GUI
Redhat .
netconfig GUI
.
netstat
, ,
, . "netstar -r"
. (netsat rn)
nslookup DNS
.

Linux Commands


ping ICMP ECHO_REQUEST
. (ping <remote-host-name/ip)
route IP
. (route, route add, route del)
showmount
NFS .
ssh (ssh <remote system
name/ip>)

Linux Commands


tcpdump .
boolean
. (tcpdump eth0)
telnet TELNET ,
. (telnet
<remote system name/ip>)
traceroute
. (traceroute <remote
system name/ip>)

Linux Commands

Runtime level management

exit shell-.
halt .
init . (init 3)
logout .
poweroff .
reboot
runlevel
.

Linux Commands

shutdown ,
shutdown -h +time
<message>`,
,
.
Ex: # shutdown -h +10 .
- .

Linux Commands

passwd . (passwd,
passwd <username>)
quota
. (quota, quota
<username>)
quotaoff .
quotaon .
quotacheck
, quota.user
.
edquota
. (edquota <username>)

Linux Commands

su . (su -)
useradd default
. (useradd g <group> -s
<shell> -c <comment> d <home directory> <username>
userdel
. (userdel <user name>)
usermod .
users
.
wall . (wall
)
who .
whoami id.

Linux Commands


cal . (cal, cal 2005)
date
. (date, date MMDDhhmm[[CC]YY][.ss])
hwclock
CMOS .
uptime .

Linux Commands


ps .
PPID- ID ; PID- ID
Eg: ps ax |

Eg : ps ef | grep <process>
pstree .
pgrep
IDs
stdout. .
top real-time
.

kernel

Linux Commands


bg
fg
kill Ex: "kill 34" - Effect:
ID 34.
killall .
.
pid ID-

You might also like