User Tools

Site Tools


docs:linux_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
docs:linux_commands [2026/04/16 09:04] – Adding plocate, tail and netstat sysadmdocs:linux_commands [2026/04/16 09:08] (current) – Fixed gramma sysadm
Line 1: Line 1:
 ====== Linux Commands ====== ====== Linux Commands ======
  
-Quick summary of useful program in Linux for sysadmin purposes. To get a full description of each one __have a look at their [[https://linux.die.net/man/|man pages]]__, by doing ''man //command//''+Quick summary of useful program in Linux for sysadmin purposes. To get a full description of each one __have a look at their [[https://linux.die.net/man/|man pages]]__, by doing ''man //command//''.
  
 ---- ----
Line 8: Line 8:
  
 === plocate === === plocate ===
-Powerful file finder on the whole system, run after ''sudo updatedb''. Need to be explicitly installed\\+Powerful file finder on the whole system, run after ''sudo updatedb''. Need to be explicitly installed.\\
  
 Syntax:\\ Syntax:\\
Line 21: Line 21:
  
 === tree === === tree ===
-Print a folder structure. Need to be explicitly installed\\+Print a folder structure. Need to be explicitly installed.\\
  
 Syntax:\\ Syntax:\\
Line 37: Line 37:
  
 === namei === === namei ===
-Follow a pathname until a terminal point is found. Need to be explicitly installed\\+Follow a pathname until a terminal point is found. Need to be explicitly installed.\\
  
 Syntax:\\ Syntax:\\
Line 55: Line 55:
  
 === tail === === tail ===
-Print last n rows of a file. Useful to have it printing live updates to a logfile and redirecting the output to analyze it later. The following example is for captirunig a SIP request to analyze it with [[https://www.wireshark.org/|Wireshark]].\\+Print last n rows of a file. Useful to save live updates to a logfile by redirecting the output. The following example is capturing all SIP request to analyze them later with [[https://www.wireshark.org/|Wireshark]].\\
  
 Syntax:\\ Syntax:\\
 ''tail -f /etc/servicepattern/sipprocessor.log > test.log'' ''tail -f /etc/servicepattern/sipprocessor.log > test.log''
  
-Output: +Output:\\ 
-The file itself. In this example download the file and open it in Wireshark (or manually).+In this example, none.\\ 
 +Download the file and open it in Wireshark (or manually).
  
 ---- ----
Line 101: Line 102:
 </code> </code>
  
----- 
  
- --- //[[lorenzo.cesana@becloudsolutions.com|Lorenzo Cesana]] 2026/04/16 09:03//+ --- //[[lorenzo.cesana@becloudsolutions.com|Lorenzo Cesana]] 2026/04/16 09:07//
docs/linux_commands.txt · Last modified: by sysadm

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki