Perintah
Deskripsi
# arch
# cal 2007
# cat /proc/cpuinfo
# cat /proc/interrupts
# cat /proc/meminfo
# cat /proc/swaps
# cat /proc/version
# cat /proc/net/dev
# cat /proc/mounts
# clock -w
# date
# date 041217002007.00
# dmidecode -q
# hdparm -i /dev/hda
# lspci -tv
# lsusb -tv
# uname -m
# uname -r
ATAS
Deskripsi
# init 0
# logout
# reboot
# shutdown -h now
# shutdown -c
# shutdown -r now
# telinit 0
ATAS
Deskripsi
# cd /home
# cd ..
# cd ../..
# cd
# cd ~user1
# cd -
# cp file1 file2
# cp dir/* .
# cp -a /tmp/dir1 .
# cp -a dir1 dir2
# cp file file1
# iconv -l
# ln -s file1 lnk1
# ln file1 lnk1
# ls
# ls -F
# ls -l
# ls -a
# ls *[0-9]*
# lstree
# mkdir dir1
# mkdir -p /tmp/dir1/dir2
# mv dir1 new_dir
# pwd
# rm -f file1
# rm -rf dir1
# rmdir dir1
# tree
ATAS
Pencarian berkas
Perintah
Deskripsi
# locate \*.ps
# whereis halt
# which halt
ATAS
Memuat Filesystem
Perintah
Deskripsi
# mount -t smbfs -o
username=user,password=pass
//WinClient/share /mnt/share
# umount /dev/hda2
# umount -n /mnt/hda2
ATAS
Ruang Disk
Perintah
Deskripsi
# df -h
# du -sh dir1
# ls -lSr |more
# rpm -q -a --qf '%10{SIZE}t%{NAME}n' | sort menunjukkan ruangan yang terpakai oleh paket-k1,1n
paket rpm yang telah terpasang, diurut berdasarkan
ukuran (fedora, redhat dan sejenisnya) [man]
ATAS
Deskripsi
# test user
[english]
Deskripsi tidak tersedia bagi bahasa
ini[Indonesian?]
# groupadd [group]
# groupdel [group]
menghapus grup
# grpck
# newgrp - [group]
# passwd
# passwd user1
# pwck
# useradd user1
# userdel -r user1
Deskripsi
# ls -lh
ATAS
Deskripsi
# chattr +a file1
# chattr +c file1
# chattr +d file1
# chattr +i file1
# chattr +s file1
# chattr +S file1
# chattr +u file1
# lsattr
ATAS
Deskripsi
# bunzip2 file1.bz2
# bzip2 file1
# gunzip file1.gz
# gzip file1
# gzip -9 file1
# rar x file1.rar
# unrar x file1.rar
# unzip file1.zip
ATAS
Deskripsi
# rpm -U [package.rpm]
# rpm -F [package.rpm]
# rpm -e [package]
# rpm -qa
# rpm -V [package]
# rpm -Va
# rpm -ivh
/usr/src/redhat/RPMS/`arch`/[package.rpm]
ATAS
Deskripsi
# yum -y update
# yum list
ATAS
Deskripsi
# dpkg -i [package.deb]
# dpkg -r [package]
# dpkg -l
# dpkg -s [package]
# dpkg -L [package]
# dpkg -S /bin/ping
ATAS
Deskripsi
# apt-get update
# apt-get upgrade
# apt-get check
# apt-get clean
ATAS
Deskripsi
# pacman -S name
# pacman -R name
ATAS
Deskripsi
# cat file1
# head -2 file1
# less file1
# more file1
# tac file1
# tail -2 file1
# tail -f /var/log/messages
ATAS
Manipulasi Teks
Perintah
Deskripsi
# cat -n file1
# sed -n '/string1/p'
ATAS
Deskripsi
# recode -l | more
ATAS
Analisis Filesystem
Perintah
Deskripsi
# badblocks -v /dev/hda1
# dosfsck /dev/hda1
# e2fsck /dev/hda1
# e2fsck -j /dev/hda1
# fsck /dev/hda1
# fsck.ext2 /dev/hda1
# fsck.ext3 /dev/hda1
# fsck.vfat /dev/hda1
# fsck.msdos /dev/hda1
ATAS
Format Filesystem
Perintah
Deskripsi
# fdformat -n /dev/fd0
# mke2fs /dev/hda1
# mke2fs -j /dev/hda1
# mkfs /dev/hda1
# mkswap /dev/hda3
ATAS
Filesystem SWAP
Perintah
Deskripsi
# mkswap /dev/hda3
# swapon /dev/hda3
ATAS
Penyimpanan Duplikat
Perintah
Deskripsi
# dd if=/dev/sda of=/tmp/file1
ATAS
CDROM
Perintah
Deskripsi
# cd-paranoia -B
# cd-paranoia --
# gzip -dc cd_iso.gz | cdrecord dev=/dev/cdrom - membakar berkas ISO terkompresi ke dalam CD
# cdrecord --scanbus
# dd if=/dev/hdc | md5sum
# mkisofs -J -allow-leading-dots -R -V
ATAS
Deskripsi
# dhclient eth0
# ethtool eth0
# host www.example.com
# hostname
# ifconfig eth0
Mengatur alamat IP
# ifdown eth0
menonaktifkan 'eth0'
# ifup eth0
mengaktifkan 'eth0'
# ip link show
# iwconfig eth1
# iwlist scan
# mii-tool eth0
# netstat -tup
# netstat -tupl
# netstat -rn
# nslookup www.example.com
# route -n
# whois www.example.com
ATAS
Deskripsi
# mount -t smbfs -o
username=user,password=pass
//WinClient/share /mnt/share
# nbtscan ip_addr
# nmblookup -A ip_addr
# smbclient -L ip_addr/hostname
ATAS
IPTABLES (firewall)
Perintah
Deskripsi
# iptables -t filter -L
# iptables -t nat -L
# iptables -t filter -F
# iptables -t nat -F
# iptables -t filter -X
# iptables -t filter -A INPUT -p tcp --dport telnet izinkan koneksi telnet ke rantai input
-j ACCEPT
# iptables -t filter -A OUTPUT -p tcp --dport
http -j DROP
# iptables -t filter -A INPUT -j LOG --log-prefix catat transaksi pada rantai input
ATAS
Deskripsi
# free -m
# kill -9 process_id
# kill -1 process_id
# last reboot
# lsmod
# lsof -p process_id
# lsof /home/user1
# ps -eafw
# ps -e -o pid,args --forest
# pstree
# smartctl -A /dev/hda
# smartctl -i /dev/hda
# strace -c ls >/dev/null
# tail /var/log/dmesg
# tail /var/log/messages
# top
ATAS
Deskripsi
# alias hh='history'
# apropos ...keyword
# chsh
# chsh --list-shells
# gpg -c file1
# gpg file1.gpg
# ldd /usr/bin/ssh
# man ping
# wget -r www.example.com
# wget -c www.example.com/file.iso
# whatis ...keyword
# who -a