Difference between revisions of "Perintah Linux T"

From OnnoWiki
Jump to navigation Jump to search
Line 50: Line 50:
  
 
* Kompres file log.txt yang besarnya 100 MB agar mudah diemail
 
* Kompres file log.txt yang besarnya 100 MB agar mudah diemail
  tar -cvzf log.tar.gz log.txt
+
  $ tar -cvzf log.tar.gz log.txt
 +
 
 +
* Ekstrak kembali berkas tersebut
 +
$ tar -xvf log.tar.gz
  
 
=taskset=
 
=taskset=

Revision as of 15:03, 21 June 2016

Indeks - A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P - Q - R - S - T - U - V - W - X - Y - Z

tac

tail

Menampilkan bagian akhir dari sebuah file

Contoh:

root@batik:/var/log# tail messages
May 24 11:00:00 bt smsd: Writing stats file 120524.110000
May 24 11:37:02 bt pulseaudio[1623]: ratelimit.c: 1 events suppressed
May 24 11:39:42 bt pulseaudio[1623]: ratelimit.c: 1 events suppressed
May 24 11:41:18 bt pulseaudio[1623]: ratelimit.c: 1 events suppressed
May 24 12:00:00 bt smsd: Writing stats file 120524.120000
May 24 12:37:21 bt pulseaudio[1623]: ratelimit.c: 1 events suppressed
May 24 12:39:51 bt pulseaudio[1623]: ratelimit.c: 1 events suppressed
May 24 12:40:10 bt pulseaudio[1623]: ratelimit.c: 3 events suppressed
May 24 12:41:57 bt pulseaudio[1623]: ratelimit.c: 1 events suppressed
May 24 12:43:10 bt pulseaudio[1623]: last message repeated 2 times

tailf

talk

talkd

tar

Perangkat kompresi berkas

  • Kompres file log.txt yang besarnya 100 MB agar mudah diemail
$ tar -cvzf log.tar.gz log.txt
  • Ekstrak kembali berkas tersebut
$ tar -xvf log.tar.gz

taskset

tcpd

tcpdump

tcpslice

tee

telinit

telnet

telnetd

test

tftp

tftpd

time

tload

tmpwatch

top

touch

tr

tracepath

traceroute

troff

true

tset

tsort

tty

tune2fs

tunelp