User Tools

Site Tools


ops102:using_cut_with_spaces

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ops102:using_cut_with_spaces [2024/11/08 19:05] – [The Problem with Spaces] chrisops102:using_cut_with_spaces [2025/03/05 15:18] (current) chris
Line 15: Line 15:
  $ grep chris /etc/passwd|cut -d: -f 5  $ grep chris /etc/passwd|cut -d: -f 5
  Chris Tyler</code>  Chris Tyler</code>
 +
 +The ''-d'' option specifies the delimter (separator) character (:) and the ''-f'' option specifies the field(s) to be cut out (5).
  
 ===== The Problem with Spaces ===== ===== The Problem with Spaces =====
ops102/using_cut_with_spaces.1731092742.txt.gz · Last modified: 2024/11/08 19:05 by chris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki