Score:1

Command meaning of the command (nl /etc/passwd | tail -n +25 )

tm flag

What is the meaning of this command? nl /etc/passwd | tail -n +25

Thank you.

Score:0
zw flag

Really in nl /etc/passwd | tail -n +25 you have two commands with pipe:

  1. nl will number the lines of the given filename /etc/passwd
  2. | is pipe, it passes output from left command to the input of right command
  3. tail -n +25 will show tail of the file skipping 25 first lines.

So the output will start from 25th line and will end with the last line from of the /etc/passwd file.


Documentation to read:

Patrick TSHABA avatar
tm flag
Thanks a lot. This is so well detailed explanation.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.