10 weniger bekannte effektive Linux -Befehle - Teil IV
- 3927
- 637
- Marleen Weight
Fortsetzung der Weniger bekannt Serie, in diesem vierten Artikel der Serie werden Sie einige nützlich wissen lustig Und animiert Befehle. Hier gehen wir in die praktische Sitzung, ohne viel Theorie.
10 weniger bekannte effektive Befehle- 11 weniger bekannte nützliche Linux -Befehle - Teil I
- 10 weniger bekannte Linux -Befehle - Teil 2
- 10 weniger bekannte Befehle für Linux - Teil 3
- 10 weniger bekannte nützliche Linux-Befehle- Teil V
Im vierten Artikel dieser Serie, der nur wenige weitere weniger bekannte Linux -Befehle enthält, die wissenswert sind. Vielleicht sind Sie sich dieser Befehle bereits bewusst, ohne Zweifel sind Sie ein erfahrener Linux -Benutzer und liebt es, Erkundungen zu erforschen.
32. Strace -Befehl
Der Strace ist ein Debugging -Tool, das hauptsächlich zur Fehlerbehebung unter Linux verwendet wird. Es wird möglicherweise nicht standardmäßig in Ihrem System installiert, und Sie müssen möglicherweise nicht geeignet oder Yum das erforderliche Paket.
Verfolgen Sie eine Befehlsausführung mithilfe Strace Befehl:
[E -Mail geschützt] [~]# Strace PWD
Probenausgabe
execve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," 7elfexecve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," \ 177elf \ 2 \ 1 \ 1 \ 3 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 3 \ 0> \ 0 \ 1 \ 0 \ 0\0\360\355\1I;\0\0\0"… , 832) = 832 fstat(3, st_mode=S_IFREG|0755, st_size=1922152,… ) = 0 mmap(0x3b49000000, 3745960, PROT_READ |PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b49000000 mprotect(0x3b4918a000, 2093056, PROT_NONE) = 0 mmap(0x3b49389000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x3b49389000 mmap(0x3b4938e000, 18600 , Prot_read | prot_write, map_private | map_fixed | map_anonymous, -1, 0) = 0x3b4938e000 schließen (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonyous, - -1, 0,0x7f29b0De7000 (Null, 4096 | , Prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de6000 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000 ...execve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," \ 177elf \ 2 \ 1 \ 1 \ 3 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 3 \ 0> \ 0 \ 1 \ 0 \ 0\0\360\355\1I;\0\0\0"… , 832) = 832 fstat(3, st_mode=S_IFREG|0755, st_size=1922152,… ) = 0 mmap(0x3b49000000, 3745960, PROT_READ |PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b49000000 mprotect(0x3b4918a000, 2093056, PROT_NONE) = 0 mmap(0x3b49389000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x3b49389000 mmap(0x3b4938e000, 18600 , Prot_read | prot_write, map_private | map_fixed | map_anonymous, -1, 0) = 0x3b4938e000 schließen (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonyous, - -1, 0,0x7f29b0De7000 (Null, 4096 | , Prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de6000 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000 ...execve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," \ 177elf \ 2 \ 1 \ 1 \ 3 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 3 \ 0> \ 0 \ 1 \ 0 \ 0\0\360\355\1I;\0\0\0"… , 832) = 832 fstat(3, st_mode=S_IFREG|0755, st_size=1922152,… ) = 0 mmap(0x3b49000000, 3745960, PROT_READ |PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b49000000 mprotect(0x3b4918a000, 2093056, PROT_NONE) = 0 mmap(0x3b49389000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x3b49389000 mmap(0x3b4938e000, 18600 , Prot_read | prot_write, map_private | map_fixed | map_anonymous, -1, 0) = 0x3b4938e000 schließen (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonyous, - -1, 0,0x7f29b0De7000 (Null, 4096 | , Prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de6000 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000 ...execve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," \ 177elf \ 2 \ 1 \ 1 \ 3 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 3 \ 0> \ 0 \ 1 \ 0 \ 0\0\360\355\1I;\0\0\0"… , 832) = 832 fstat(3, st_mode=S_IFREG|0755, st_size=1922152,… ) = 0 mmap(0x3b49000000, 3745960, PROT_READ |PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b49000000 mprotect(0x3b4918a000, 2093056, PROT_NONE) = 0 mmap(0x3b49389000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x3b49389000 mmap(0x3b4938e000, 18600 , Prot_read | prot_write, map_private | map_fixed | map_anonymous, -1, 0) = 0x3b4938e000 schließen (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonyous, - -1, 0,0x7f29b0De7000 (Null, 4096 | , Prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de6000 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000 ...execve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," \ 177elf \ 2 \ 1 \ 1 \ 3 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 3 \ 0> \ 0 \ 1 \ 0 \ 0\0\360\355\1I;\0\0\0"… , 832) = 832 fstat(3, st_mode=S_IFREG|0755, st_size=1922152,… ) = 0 mmap(0x3b49000000, 3745960, PROT_READ |PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b49000000 mprotect(0x3b4918a000, 2093056, PROT_NONE) = 0 mmap(0x3b49389000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x3b49389000 mmap(0x3b4938e000, 18600 , Prot_read | prot_write, map_private | map_fixed | map_anonymous, -1, 0) = 0x3b4938e000 schließen (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonyous, - -1, 0,0x7f29b0De7000 (Null, 4096 | , Prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de6000 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000 ...execve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," \ 177elf \ 2 \ 1 \ 1 \ 3 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 3 \ 0> \ 0 \ 1 \ 0 \ 0\0\360\355\1I;\0\0\0"… , 832) = 832 fstat(3, st_mode=S_IFREG|0755, st_size=1922152,… ) = 0 mmap(0x3b49000000, 3745960, PROT_READ |PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b49000000 mprotect(0x3b4918a000, 2093056, PROT_NONE) = 0 mmap(0x3b49389000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x3b49389000 mmap(0x3b4938e000, 18600 , Prot_read | prot_write, map_private | map_fixed | map_anonymous, -1, 0) = 0x3b4938e000 schließen (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonyous, - -1, 0,0x7f29b0De7000 (Null, 4096 | , Prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de6000 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000 ...execve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," \ 177elf \ 2 \ 1 \ 1 \ 3 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 3 \ 0> \ 0 \ 1 \ 0 \ 0\0\360\355\1I;\0\0\0"… , 832) = 832 fstat(3, st_mode=S_IFREG|0755, st_size=1922152,… ) = 0 mmap(0x3b49000000, 3745960, PROT_READ |PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b49000000 mprotect(0x3b4918a000, 2093056, PROT_NONE) = 0 mmap(0x3b49389000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x3b49389000 mmap(0x3b4938e000, 18600 , Prot_read | prot_write, map_private | map_fixed | map_anonymous, -1, 0) = 0x3b4938e000 schließen (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonyous, - -1, 0,0x7f29b0De7000 (Null, 4096 | , Prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de6000 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000 ...execve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," \ 177elf \ 2 \ 1 \ 1 \ 3 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 3 \ 0> \ 0 \ 1 \ 0 \ 0\0\360\355\1I;\0\0\0"… , 832) = 832 fstat(3, st_mode=S_IFREG|0755, st_size=1922152,… ) = 0 mmap(0x3b49000000, 3745960, PROT_READ |PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b49000000 mprotect(0x3b4918a000, 2093056, PROT_NONE) = 0 mmap(0x3b49389000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x3b49389000 mmap(0x3b4938e000, 18600 , Prot_read | prot_write, map_private | map_fixed | map_anonymous, -1, 0) = 0x3b4938e000 schließen (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonyous, - -1, 0,0x7f29b0De7000 (Null, 4096 | , Prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de6000 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000 ...execve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," \ 177elf \ 2 \ 1 \ 1 \ 3 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 3 \ 0> \ 0 \ 1 \ 0 \ 0\0\360\355\1I;\0\0\0"… , 832) = 832 fstat(3, st_mode=S_IFREG|0755, st_size=1922152,… ) = 0 mmap(0x3b49000000, 3745960, PROT_READ |PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b49000000 mprotect(0x3b4918a000, 2093056, PROT_NONE) = 0 mmap(0x3b49389000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x3b49389000 mmap(0x3b4938e000, 18600 , Prot_read | prot_write, map_private | map_fixed | map_anonymous, -1, 0) = 0x3b4938e000 schließen (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonyous, - -1, 0,0x7f29b0De7000 (Null, 4096 | , Prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de6000 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000 ...>execve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," \ 177elf \ 2 \ 1 \ 1 \ 3 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 3 \ 0> \ 0 \ 1 \ 0 \ 0\0\360\355\1I;\0\0\0"… , 832) = 832 fstat(3, st_mode=S_IFREG|0755, st_size=1922152,… ) = 0 mmap(0x3b49000000, 3745960, PROT_READ |PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b49000000 mprotect(0x3b4918a000, 2093056, PROT_NONE) = 0 mmap(0x3b49389000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x3b49389000 mmap(0x3b4938e000, 18600 , Prot_read | prot_write, map_private | map_fixed | map_anonymous, -1, 0) = 0x3b4938e000 schließen (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonyous, - -1, 0,0x7f29b0De7000 (Null, 4096 | , Prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de6000 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000 ...execve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," \ 177elf \ 2 \ 1 \ 1 \ 3 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 3 \ 0> \ 0 \ 1 \ 0 \ 0\0\360\355\1I;\0\0\0"… , 832) = 832 fstat(3, st_mode=S_IFREG|0755, st_size=1922152,… ) = 0 mmap(0x3b49000000, 3745960, PROT_READ |PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b49000000 mprotect(0x3b4918a000, 2093056, PROT_NONE) = 0 mmap(0x3b49389000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x3b49389000 mmap(0x3b4938e000, 18600 , Prot_read | prot_write, map_private | map_fixed | map_anonymous, -1, 0) = 0x3b4938e000 schließen (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonyous, - -1, 0,0x7f29b0De7000 (Null, 4096 | , Prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de6000 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000 ...execve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," \ 177elf \ 2 \ 1 \ 1 \ 3 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 3 \ 0> \ 0 \ 1 \ 0 \ 0\0\360\355\1I;\0\0\0"… , 832) = 832 fstat(3, st_mode=S_IFREG|0755, st_size=1922152,… ) = 0 mmap(0x3b49000000, 3745960, PROT_READ |PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b49000000 mprotect(0x3b4918a000, 2093056, PROT_NONE) = 0 mmap(0x3b49389000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x3b49389000 mmap(0x3b4938e000, 18600 , Prot_read | prot_write, map_private | map_fixed | map_anonymous, -1, 0) = 0x3b4938e000 schließen (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonyous, - -1, 0,0x7f29b0De7000 (Null, 4096 | , Prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de6000 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000 ...execve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," \ 177elf \ 2 \ 1 \ 1 \ 3 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 3 \ 0> \ 0 \ 1 \ 0 \ 0\0\360\355\1I;\0\0\0"… , 832) = 832 fstat(3, st_mode=S_IFREG|0755, st_size=1922152,… ) = 0 mmap(0x3b49000000, 3745960, PROT_READ |PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b49000000 mprotect(0x3b4918a000, 2093056, PROT_NONE) = 0 mmap(0x3b49389000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x3b49389000 mmap(0x3b4938e000, 18600 , Prot_read | prot_write, map_private | map_fixed | map_anonymous, -1, 0) = 0x3b4938e000 schließen (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonyous, - -1, 0,0x7f29b0De7000 (Null, 4096 | , Prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de6000 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000 ...05i;execve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," \ 177elf \ 2 \ 1 \ 1 \ 3 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 3 \ 0> \ 0 \ 1 \ 0 \ 0\0\360\355\1I;\0\0\0"… , 832) = 832 fstat(3, st_mode=S_IFREG|0755, st_size=1922152,… ) = 0 mmap(0x3b49000000, 3745960, PROT_READ |PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b49000000 mprotect(0x3b4918a000, 2093056, PROT_NONE) = 0 mmap(0x3b49389000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x3b49389000 mmap(0x3b4938e000, 18600 , Prot_read | prot_write, map_private | map_fixed | map_anonymous, -1, 0) = 0x3b4938e000 schließen (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonyous, - -1, 0,0x7f29b0De7000 (Null, 4096 | , Prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de6000 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000 ...execve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," \ 177elf \ 2 \ 1 \ 1 \ 3 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 3 \ 0> \ 0 \ 1 \ 0 \ 0\0\360\355\1I;\0\0\0"… , 832) = 832 fstat(3, st_mode=S_IFREG|0755, st_size=1922152,… ) = 0 mmap(0x3b49000000, 3745960, PROT_READ |PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b49000000 mprotect(0x3b4918a000, 2093056, PROT_NONE) = 0 mmap(0x3b49389000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x3b49389000 mmap(0x3b4938e000, 18600 , Prot_read | prot_write, map_private | map_fixed | map_anonymous, -1, 0) = 0x3b4938e000 schließen (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonyous, - -1, 0,0x7f29b0De7000 (Null, 4096 | , Prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de6000 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000 ...execve ("/bin/pwd", ["pwd"], [/ * 29 vars */]) = 0 BRK (0) = 0x728000 mmap (Null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0 ) = 0x7f29b0df2000 Access ("/etc/ld.So.Vorlast ", r_ok) = -1 Enoent (keine solche Datei oder Verzeichnis) Open ("/etc/ld.So.Cache ", o_rdonly) = 3 fstat (3, st_mode = s_ifreg | 0644, ST_SIZE = 38427,…) = 0 mmap (NULL, 38427, prot_read, map_privat, 3, 0) = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 x 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0x7f29b0de8000 (3) = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0) ("/lib64/libc.So.6 ", o_rdonly) = 3 read (3," \ 177elf \ 2 \ 1 \ 1 \ 3 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 3 \ 0> \ 0 \ 1 \ 0 \ 0\0\360\355\1I;\0\0\0"… , 832) = 832 fstat(3, st_mode=S_IFREG|0755, st_size=1922152,… ) = 0 mmap(0x3b49000000, 3745960, PROT_READ |PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3b49000000 mprotect(0x3b4918a000, 2093056, PROT_NONE) = 0 mmap(0x3b49389000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x3b49389000 mmap(0x3b4938e000, 18600 , Prot_read | prot_write, map_private | map_fixed | map_anonymous, -1, 0) = 0x3b4938e000 schließen (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonyous, - -1, 0,0x7f29b0De7000 (Null, 4096 | , Prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de6000 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000 ..."…, 832) = 832 fstat (3, st_mode = s_ifreg | 0755, ST_SIZE = 1922152,…) = 0 mmap (0x3b4900000000, 3745960, prot_read | prot_exec, map_private | map_denywrive, 3, 3, 3, 3, 3, 3, 3, 0 x 0x3b4Aws | , 2093056, prot_none) = 0 mmap (0x3b49389000, 20480, prot_read | prot_write, map_private | map_fixed | map_denywrite, 3, 0x189000) = 0x3b49389000 mmap (0x3b4938 | = 0x3b4938e000 close (3) = 0 mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de7000 mmap (null, 4096, prot_read | prot_wrive, map_private | map_private | mmap (null, 4096, prot_read | prot_write, map_private | map_anonymous, -1, 0) = 0x7f29b0de5000…
Der Strace Der Befehl akzeptiert viele Argumente und hat viele Optionen. Detaillierte Informationen finden Sie auf der MAN -Seite.
33. Verweigerung des Befehls -A && Beenden
Die meisten Systemadministratoren verwenden den Bildschirmbefehl, um Jobs zu steuern, die im Terminalhintergrund ausgeführt werden. Nehmen wir an, wenn Sie einen langjährigen Job haben und wollen ablösen Vom Terminal verwenden Sie Bildschirm Befehl, es zu tun. Aber was ist, wenn Sie nicht wissen, wie man den Bildschirm benutzt.
Der Befehl disuner wird verwendet, um die Jobs kontinuierlich im Hintergrund auszuführen, auch nachdem Sie die Terminalsitzung geschlossen haben. Die Syntax des Ableitungsbefehls lautet:
[E -Mail geschützt] [~]# Befehl; Ablehnen -a && Beenden
Verwenden Sie die Arbeitsplätze Befehl, um die Jobnummer zu finden und dann die Ablehnung zu verwenden %N Wo N ist die Jobnummer. Um zu überprüfen, ob der Job verwendet wird, wird verwendet ps oder Top -Befehl. Der nohup Der Befehl ist eine Alternative zum Ableitungsbefehl.
34. GetConf long_bitsbefehl
Der obige Befehl zeigt Ihre Maschinenarchitektur an, wenn dies der Fall ist 32 bit oder 64 Bit?
[E -Mail geschützt] [~]# getconf long_bit 32
Laden Sie das Linux -Befehlszeilen -Cheat -Blatt herunter
35. Datum des Terminals anzeigen
Der folgende Befehl ist eine Kombination mehrerer Befehle. Sagen Sie besser ein Skript. Für eine Person, die am Shell oder am Terminal arbeitet, ohne die GUI zu sehen, ist das aktuelle Systemdatum eine mühsame Aufgabe. Sie müssen tippen 'Datum'Befehl, das heutige Datum zu überprüfen.
Führen Sie einfach den folgenden Befehl auf Ihre Eingabeaufforderung aus und sehen Sie die Datum Und Zeit in der obigen rechten Ecke des Terminals.
[E-Mail geschützt] [~]# Während Schlaf 1; tun TPUT SC; TPUT CUP 0 $ (($ (TPUT COLS)) -29); Datum; TPUT RC; DETED &Datum im Terminal anzeigen
36. Befehl konvertieren
Während beim Schreiben von Tutorial muss ich normalerweise die Ausgabe erzeugen, oft im Bildformat. Die obige Befehlskombination tut dies für mich. Sagen Sie, ich brauche die Ausgabe des Baumbefehls (für /etc/x11 Verzeichnis) im Bildformat. Was ich am Terminal getan habe, war:
[E -Mail geschützt]:/etc/x11# Baum | Etikett konvertieren:@-/home/avi/tree.png
Die Ausgabe des obigen Befehls ist am angegebenen Ort (hier, Home -Verzeichnis von mir) mit dem angegebenen Dateinamen zu sehen Baum.png.
37. Watch -t -n1 "Datum +%t | Figlet"
Denken Sie an unsere Beschreibung von “Figlet"Befehl in unserem früheren Artikel" 20 lustige Befehle von Linux ". Dieser Befehl war sehr cool, diesmal werden wir pipelinieren 'Figlet'um animierte digitale Uhr im Terminal zu zeigen.
Schauen Sie sich einfach selbst an, denken Sie daran, dass Sie haben müssen Figlet auf dem System installiert, tun Sie geeignet oder Yum So installieren Sie das erforderliche Paket.
[E -Mail geschützt] [~]# Watch -t -n1 "Datum +%t | Figlet"
Probenausgabe
_ ___ ____ ___ _____ _ _ Fr 29 10:29:34 gmt / | / _ \ _ | ___ \ / _ \ _ | ___ / | || | | | | | (_) __) | (_) (_) | _ \ | || | _ | | | _ | | _ / __ / \ __, | _ ___) | __ _ | | _ | \ ___/(_) _____ | /_/(_) ____/| _ |
38. Befehle ausstellen und graben
Obwohl "Gastgeber" Und "grabenDer Befehl ist nicht so viel weniger bekannt, immer noch nicht sehr häufig verwendet. Der Host -Befehl ist DNS Suchdienstprogramm.
[E -Mail geschützt] [~]# Host www.Google.com www.Google.com hat Adresse 173.194.66.147 www.Google.com hat Adresse 173.194.66.105 www.Google.com hat Adresse 173.194.66.99 www.Google.com hat Adresse 173.194.66.104 www.Google.com hat Adresse 173.194.66.106 www.Google.com hat Adresse 173.194.66.103 www.Google.com hat IPv6 -Adresse 2A00: 1450: 400C: C03 :: 68
[E -Mail geschützt] [~]# dig www.Google.com; <> Dig 9.8.2RC1-redhat-9.8.2-0.17.RC1.EL6_4.6 <> www.Google.com ;; Globale Optionen: +CMD ;; Antwort erhalten: ;; ->> Header<
39. DSTAT -Befehl
Der dstat ist ein vielseitiges Tool, das Statistiken im Zusammenhang mit der Systemressource generiert. Standardmäßig hat Ihr System möglicherweise nicht 'dstat' Eingerichtet. Mach a geeignet oder Yum installieren 'dstat'Bevor Sie diesen sehr farbenfrohen und Beschreibungssystem -Ressourcengenerator verwenden.
[E -Mail geschützt] [~]# dstatDSTAT -Befehl
40. BIND -P -Befehl
Der 'Bind -pDer Befehl zeigt alle verfügbaren Verknüpfungen für Verprügeln Hülse.
[E -Mail geschützt] [~]# Bind -p
Probenausgabe
"\ C-g": Abtreiben Sie "\ c-x \ c-g": abort "\ e \ c-g": abort "\ c-j": Akzeptieren "\ c-M": Akzeptieren Sie Line # alias-expand-line (nicht gebunden) # Arrow -key-prefix (nicht gebunden) # rückwärts-byte (nicht gebunden) "\ c-b": rückwärts-char "\ eod": rückwärts-char "\ e [d": rückwärts-char "\ e!": Complete-Command" \ e/": Complete-fileName" \ [E-Mail Protected] ": Complete-Hostname" \ e ": complete-ino-braces" \ e ~ ": complete-username" \ e $ " : Complete-Variable # Copy-Backward-Wort (nicht gebunden) # Copy-Forward-Wort (nicht gebunden) # Copy-Region-as-Kill (nicht gebunden)…
41. touch /betroffen
Der obige Befehl erstellt einen leeren Ordner 'ForceFsck', unter Root Directory. Dadurch wird das Linux -System gezwungen, das Dateisystem im nächsten Start zu überprüfen.
[E -Mail geschützt] [~]# touch /betrogensck
Das ist alles fürs Erste. Ihr Menschen liebt diese ''Weniger bekannte Befehle'Und daher setzen wir die Serie fort, der nächste Artikel dieser Serie wird sehr bald verfügbar sein.
Bis dahin bleiben Sie dran und verbunden mit Tecmint. Vergessen Sie nicht, Ihr wertvolles Feedback in unserem Kommentarbereich zu geben. Tun Sie uns einen Gefallen, wie und teilen Sie uns und helfen Sie uns, sich zu verbreiten.