Difference between revisions of "Perintah Linux T"
Jump to navigation
Jump to search
Adinugroho (talk | contribs) (→Contoh) |
Gibransyah (talk | contribs) (→tar) |
||
Line 47: | Line 47: | ||
=talkd= | =talkd= | ||
=tar= | =tar= | ||
+ | Perangkat kompresi berkas | ||
+ | |||
+ | * Kompres file log.txt yang besarnya 100 MB agar mudah diemail | ||
+ | tar -cvzf log.tar.gz log.txt | ||
+ | |||
=taskset= | =taskset= | ||
=tcpd= | =tcpd= |
Revision as of 14:58, 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