Saturday, October 16, 2010

COMMAND DASAR LINUX

Banyak orang yang belum menguasai semua perintah dasar linux. Mungkin dengan ini paling tidak membuat orang yang belum mengenal semua command di Linux hampir mengenal semua perintah dasarnya.
Yang saya coba tulis untuk kalian ini merupakan hampir semua perintah dasar yang paling sering digunakan. Dan semoga bisa bermanfaat bagi yang membaca. :) 

 
 
alias    :Buat sebuah alias
apropos  :Bantuan pencarian halaman manual (man-k)
awk      :Cari dan Ganti teks, database sort / validate / index 
break    :Keluar dari loop 
builtin  :Jalankan shell builtin
bzip2    :Kompres atau dekompresi file bernama (s)
 
 
cal      :Tampilan kalender
case     :Bersyarat melakukan perintah
cat      :Menampilkan isi file
cd       :Mengubah direktori
cfdisk   :Tabel partisi manipulator untuk Linux
chgrp    :Mengubah kepemilikan grup
chmod    :Mengubah hak akses
chown    :Mengubah pemilik berkas dan kelompok
chroot   :Jalankan perintah dengan direktori root yang berbeda
cksum    :Print CRC checksum dan jumlah byte
clear    :Hapus layar terminal
cmp      :Bandingkan dua file
comm     :Bandingkan dua file diurutkan baris per baris
command  :Jalankan perintah - mengabaikan fungsi shell
continue :Melanjutkan iterasi berikutnya dari loop
cp       :Menyalin satu atau lebih file ke lokasi lain   
cron     :Daemon to execute scheduled commands 
crontab  :Jadwal perintah untuk menjalankan di lain waktu
csplit   :Split file ke dalam konteks-potongan ditentukan 
cut      :Membagi file menjadi beberapa bagian
 
 
date     :Menampilkan atau merubah tanggal & waktu 
dc       :Desk Calculator 
dd       :Data Dump - Mengkonversi dan menyalin file 
ddrescue :Data recovery tool 
declare  :variabel Mengumumkan dan memberikan atribut kepada mereka
df       :Tampilan ruang bebas disk 
diff     :Tampilkan perbedaan antara dua file 
diff3    :Tampilkan perbedaan antara tiga file 
dig      :DNS lookup
dir      :isi daftar direktori Singkat
dircolors:Warna setup untuk `ls ' 
dirname  :Convert a full pathname to just a path 
dirs     :Tampilkan daftar direktori ingat 
du       :Perkiraan penggunaan kapasitas file
 
 
echo     :Tampilan pesan pada layar 
egrep    :Cari file (s) untuk baris yang cocok dengan ekspresi diperpanjang 
eject    :Mengeluarkan removable media 
enable   :Mengaktifkan dan menonaktifkan perintah builtin shell
env      :Variabel Lingkungan
ethool   :Kartu ethernet pengaturan 
eval     :Evaluasi beberapa perintah / argumen
exec     :Jalankan perintah 
exit     :Keluar shell
expand   :Convert tab ke spasi
export   :Set variabel lingkungan
expr     :Mengevaluasi ekspresi
 
 
false    :Melakukan apa-apa, tidak berhasil
fdformat :tingkat rendah format sebuah floppy disk    
fdisk    :Partisi tabel manipulator untuk Linux 
fgrep    :Cari file (s) untuk baris yang cocok dengan string yang tetap 
file     :Tentukan jenis file
find     :Mencari file yang memenuhi kriteria yang diinginkan
fmt      :Format ulang teks paragraf   
fold     :Bungkus teks untuk menyesuaikan lebar tertentu
for      :Memperluas kata-kata, dan jalankan perintah  
format   :Format disk atau kaset 
free     :Tampilan penggunaan memori
fsck     :Berkas pemeriksaan konsistensi sistem dan perbaikan  
ftp      :File Transfer Protocol 
function :Tentukan Fungsi Macro
 
 
gawk     :Cari dan Ganti teks dalam file (s)
getopts  :Parse positional parameters 
grep     :Cari file (s) untuk baris yang cocok dengan pola yang diberikan
groups   :nama grup Cetak pengguna dalam
gzip     :Kompres atau dekompresi file bernama (s)  
hash     :Ingat nama path penuh dari sebuah argumen nama
head     :Output bagian pertama file (s)
history  :Sejarah perintah
hostname :Cetak atau nama sistem kumpulan
 
 
id       :Mencetak user id grup danif       :Persyaratan melakukan perintahifconfig :Konfigurasi antarmuka jaringanimport   :Capture layar server X dan menyimpan foto ke fileinstall  :Copy file dan atribut set


join     :Gabung garis pada field umum
 
 
kill     :Menghentikan proses dari menjalankan
 
 
less     :Tampilan output satu layar pada satu waktulet      :Lakukan aritmatika pada variabel shellln       :Membuat link antar filelocal    :Buat variabellocate   :Cari filelogname  :Cetak nama login saatlogout   :Keluar dari shell loginlook     :Tampilan baris yang dimulai dengan string yang diberikanlpc      :Line printer control programlpr      :cetak garis Offlprint   :Cetak filelprintd  :Batalkan pekerjaan cetaklprintq  :Daftar antrian cetaklprm     :Hapus pekerjaan dari antrian cetakls       :Daftar informasi tentang file (s)lsof     :Daftar file yang terbuka


make     :Recompile a group of programs
man      :Help manual
mkdir    :Create new folder(s)
mkfifo   :Make FIFOs (named pipes)
mkisofs  :Create an hybrid ISO9660/JOLIET/HFS filesystem
mknod    :Make block or character special files
more     :Display output one screen at a time
mount    :Mount a file system
mtools   :Manipulate MS-DOS files
mv       :Move or rename files or directories 
 
 
netstat  :Networking information
nice     :Set the priority of a command or job
nl       :Number lines and write files
nohup    :Run a command immune to hangups
nslookup :Query Internet name servers interactively 
 
 
passwd   :Modify a user password
paste    :Merge lines of files
pathchk  :Check file name portability
ping     :Test a network connection
popd     :Restore the previous value of the current directory
pr       :Prepare files for printing
printcap :Printer capability database
printenv :Print environment variables
printf   :Format and print data
ps       :Process status
pushd    :Save and then change the current directory
pwd      :Print Working Directory 
 
 
quota     :Display disk usage and limits
quotacheck:Scan a file system for disk usage
quotactl  :Set disk quotas 
 
 
ram      :ram disk device
rcp      :Copy files between two machines.
read     :read a line from standard input
readonly :Mark variables/functions as readonly
remsync  :Synchronize remote files via email
return   :Exit a shell function
rm       :Remove files
rmdir    :Remove folder(s)
rsync    :Remote file copy (Synchronize file trees) 
 
 
 
screen   :Terminal window manager
scp      :Secure copy (remote file copy)
sdiff    :Merge two files interactively
sed      :Stream Editor
select   :Accept keyboard input
seq      :Print numeric sequences
set      :Manipulate shell variables and functions
sftp     :Secure File Transfer Program
shift    :Shift positional parameters
shopt    :Shell Options
shutdown :Shutdown or restart linux
sleep    :Delay for a specified time
sort     :Sort text files
source   :Run commands from a file `.'
split    :Split a file into fixed-size pieces
ssh      :Secure Shell client (remote login program)
strace   :Trace system calls and signals
su       :Substitute user identity
sum      :Print a checksum for a file
symlink  :Make a new name for a file
sync     :Synchronize data on disk with memory 
 
 
tail      :Output the last part of files
tar       :Tape ARchiver
tee       :Redirect output to multiple files
test      :Evaluate a conditional expression
time      :Measure Program running time
times     :User and system times
touch     :Change file timestamps
top       :List processes running on the system
traceroute: Trace Route to Host
trap      :Run a command when a signal is set(bourne)
tr        :Translate, squeeze, and/or delete characters
true      :Do nothing, successfully
tsort     :Topological sort
tty       :Print filename of terminal on stdin
type      :Describe a command 
 
ulimit   :Limit user resources
umask    :Users file creation mask
umount   :Unmount a device
unalias  :Remove an alias
uname    :Print system information
unexpand :Convert spaces to tabs
uniq     :Uniquify files
units    :Convert units from one scale to another
unset    :Remove variable or function names
unshar   :Unpack shell archive scripts
until    :Execute commands (until error)
useradd  :Create new user account
usermod  :Modify user account
users    :List users currently logged in
uuencode :Encode a binary file
uudecode :Decode a file created by uuencode 
 
 
v        :Verbosely list directory contents (`ls -l -b')
vdir     :Verbosely list directory contents (`ls -l -b')
vi       :Text Editor

 
watch    :Execute/display a program periodically
wc       :Print byte, word, and line counts
whereis  :Report all known instances of a command
which    :Locate a program file in the user's path.
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) 
yes      :Print a string until interrupted 
.        :Run a command script in the current shell 
###      :Comment / Remark

0 comments:

Template by : kendhin x-template.blogspot.com