Skip to main content
Share Your Experience: Take the 2024 Developer Survey
Josomeister's user avatar
Josomeister's user avatar
Josomeister's user avatar
Josomeister
  • Member for 3 years, 3 months
  • Last seen more than 3 years ago
Stats
51
reputation
3k
reached
1
answer
4
questions
About

pro-beginner tips:

  • man program | less -p "specific function inside the program". scroll with "n" to the different occurences where the searched expression has been found (and shift+n to go back one search term)
  • example: man less | less -p "-p" searches in the manual of the programm less for the search-pattern "-p". this works with the help flag as well. egs. less --help | less -p "-p". mostly --help or -h provides only a rougher help than the man(ual) but sometimes there is no manual.
  • | pipes the outpout of the first command to te second command. so less searches via -p the whole man page and starts its output at the first occurance of the searche pattern.

  • man -K "Search-Pattern" searches every man page for a certin pattern (slow!)
  • apropos "search-pattern" searches in programm description for a pattern and results in a list with programm names.

  • install tldr (too long didnt read) tldr programm gives you the most used use-cases of a programm and often some inspiration.

  • !! repeats the last command. so with sudo !! you can repeat a command where you forgot to put sudo ;)


  • Learning shell-scripting and python.
  • Always happy for tips and tweaks on Linux.
  • Running a debian derivat.
This user doesn’t have any gold badges yet.
This user doesn’t have any silver badges yet.
9
bronze badges
2
Score
2
Posts
40
Posts %
2
Score
2
Posts
40
Posts %
2
Score
2
Posts
40
Posts %
2
Score
2
Posts
40
Posts %
0
Score
1
Posts
20
Posts %
0
Score
1
Posts
20
Posts %
Top posts