Joined June 2012
Photos and videos
6 Apr 2014
search case insensitive in all the files recursively for the text "bash" and list the number of occurrences in each file grep -ric bash *
3
6 Apr 2014
perform operation on all the csv files in the current directory $ for i in `ls *.csv` ; do echo $i; done do what you like instead of echo
2
TipOfBash retweeted
5 Apr 2014
CTRL o : go to previous location in vim CTRL i : go to next location in vim
3
3
5 Apr 2014
ls -ltr $PWD/* List file names in the current directory with full path
2
TipOfBash retweeted
17 Mar 2014
:ls list all the buffers
1
TipOfBash retweeted
17 Mar 2014
:wn Save the current buffer and move to the next
1
TipOfBash retweeted
16 Mar 2014
:s/\(.*\) \(.*\)/\2 \1/g swap your first name with your last name in Vim - limitless possibilities :)
2
7 Mar 2014
mkdir -p /a/b/c/d : creates the entire directory structure with folders a, b, c, d
1
25 Feb 2014
rm -f file[12345].txt : removes file1.txt, file2.txt, file3.txt, file4.txt, file5.txt Try the -i switch if you are feeling merciful
2
18 Feb 2014
!13 : Execute the 13th command from bash history.
1
4 Feb 2014
If you are not using groovy for scripting, you are missing out on something
20 Jan 2014
If you are on sqlplus prompt and need to run ls,you can do sql> host ls -ltr generically, any os command can be run with host as a prefix
1
27 Nov 2013
A weird imagination is most useful to gain full advantage of all the features - From the "screen" man pages.
1
20 Nov 2013
query information about a package using rpm "rpm -q package_name". Uninstall a package "rpm -e package_name"
20 Nov 2013
find the version of fedora you are running "cat /proc/version"
1
1
29 Sep 2013
@TipOfBash: Unlock another user's session from root : loginctl list-sessions loginctl unlock-session <session_id>”
1
29 Sep 2013
Unlock another user's session from root : loginctl list-sessions loginctl unlock-session <session_id>
TipOfBash retweeted
10 Sep 2013
“Why can’t I quit you?!” –someone using vim for the first time
31
562
246
4 Sep 2013
Thoughts on today’s Nokia announcement pocket.co/ss279

23 Aug 2013
grep -vl foo * List all files which do not contain foo