Instant favorite
Favorite Unix Commands
51–60 of 135 posts
Re: Favorite Unix Commands
#52Re: Favorite Unix Commands
#53Re: Favorite Unix Commands
#54Re: Favorite Unix Commands
#55There's a typo: The command is spelled "apropos" (not apropo).
Re: Favorite Unix Commands
#56Earlier quoted context omitted.
tsort. It's pointless until you need it, but when you need it, it's totally awesome . less. Overkill, but SO MUCH BETTER THAN tail -f. Seriously. You can toggle "follow mode" without losing your place in the incoming stream.
Hm, can you start at the end of file without reading the entire file with less? Use case is tailing large logs.
"less -n huge_file" and then G only reads the start and end of the file. Type G again to move to the latest end of the file if it's growing.
Re: Favorite Unix Commands
#57Re: Favorite Unix Commands
#58Earlier quoted context omitted.
What vi mode is that entered in?
Normal mode (:help :! for more information on this command).
:!sudo tee %
have over doing it at the command line other than filling in the current filename for you? I suspect the original poster meant something like "gg!Gsudo tee %".Re: Favorite Unix Commands
#59Re: Favorite Unix Commands
#60grep -r . "some random debug message" (searches for the passage recursively in all files from the directory it was executed, the main reason I like developing in linux more than windows)