lxtips

random hints for linux, bash, vim, firefox, ubuntu, gnome, nautilus, vlc... 

count the number of blank lines in a file with grep -c '^$' file http://bit.ly/Ch8eY #linux #unix

Loading mentions Retweet

Comments [1]

append fileA to fileB with fileA >> fileB http://bit.ly/UE1l1 #linux #unix

Check out this website I found at nl.ijs.si

Loading mentions Retweet

Comments [0]

timestamp your #bash history with echo 'export HISTTIMEFORMAT="%h/%d - %H:%M:%S "' >> ~/.bashrc http://bit.ly/fGDKR #linux

 

Loading mentions Retweet

Comments [0]

append 8 words to named buffer c in #vim with "C8yw http://bit.ly/A57qc #linux

Check out this website I found at beginlinux.com

Loading mentions Retweet

Comments [0]

convert .avi to animated gif with ffmpeg -i video.avi video.gif http://bit.ly/MhUpS #linux

Check out this website I found at webupd8.blogspot.com

Loading mentions Retweet

Comments [0]

delete all text in #vim with ggdG http://bit.ly/k2p6J #linux

Check out this website I found at shell-fu.org

Loading mentions Retweet

Comments [0]

list the last 10 commands in your command history with fc -l -10 http://bit.ly/K5CPW #linux

Loading mentions Retweet

Comments [0]

have a look at a #vim cheatsheet (thanx @jimmietryon) http://bit.ly/Mnw7Z #linux

Check out this website I found at fprintf.net

Loading mentions Retweet

Comments [0]

avoid the extra autocompletion tab by adding the line "set show-all-if-ambiguous on" to your ~/.inputrc http://bit.ly/1trJD4 #linux

Check out this website I found at caliban.org

Loading mentions Retweet

Comments [0]

delete line in #vim with dd http://bit.ly/2rCjD #linux

Loading mentions Retweet

Comments [0]