Menu

Minggu, 15 Desember 2013

Kumpulan kode Linux

Beberapa Perintah Konsole Terminal Linux:
 Kumpulan Kode Perintah Konsole Terminal Linux
$ grep "license" readme.txt                                      = mencari kata "license" dalam file readme.txt
$ df –h                                                                        = disk free
$ du -h --max-depth=100                                         = estimate file usage
$ du /media/data/ --max-depth=1 -B M | sort –g    = melihat penggunaan space pada folder
$ du -sh /media/data/                                             = melihat besaran (MB) folder
$ sudo fdisk -l                                                            = show partition table
$ free                                                                          = melihat free RAM
$ cat /etc/fstab                                                         = static file system information
$ cat /proc/cpuinfo                                                  = info cpu
$ cat /proc/meminfo                                               = info memory
$ cat /proc/partitions                                             = info partition
$ cat /etc/rc.d/rc.s                                                   = startup

Tidak ada komentar:

Posting Komentar