User Tools

Site Tools


linux

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
linux [2023/01/01 18:43] – external edit 127.0.0.1linux [2023/01/11 10:31] roger
Line 153: Line 153:
  
 Where ''/'' is the filesystem you want to check Where ''/'' is the filesystem you want to check
 +
 +===== awk =====
 +
 +==== Print the first column of a string ====
 +
 +<code bash>
 +echo "This is a string" | awk '{print ($1)}'
 +# Output: "This"
 +</code>
 +
linux.txt · Last modified: 2023/01/11 10:33 by roger