Bash (Bourne-again Shell) is a command-line shell/programming language by the GNU Project. Its name alludes to its predecessor, the long-deprecated Bourne shell. Bash can be run on…
Bash/BASH/
The cdspell option in Bash is a helpful feature that automatically corrects minor typing mistakes in directory names when using the cd command. This guide explains how to enable an…
How to generate random ascii art in shell: wget -qO - http://www.asciiartfarts.com/random.cgi | sed -n '/<pre>/,/<\/pre>/p' | sed -n '/<table*/,/<\/table>/p' |…
#Execute a command without saving it in the history HISTCONTROL=ignorespace ; export $HISTCONTROL
Recursively download website wget -r --no-parent --reject "index.html*" http://mysite.com/configs/.vim/
history -c && history -w
find / -xdev -samefile file1 Second Method $ ls -li file1 2655341 -rw-r--r-- 3 peter peter 0 2008-09-02 19:09 file1 find /home -xdev -inum 2655341
#!/usr/bin/perl # wgrep.pl - windowed grep utility #!/usr/bin/perl # wgrep.pl - windowed grep utility use strict; use IO::File; use IO::Handle; my ($before,$after,$show_stars,$show…
0: Which process has port 22 open? #!/usr/bin/ksh # # PCP (PID con Port) # v1.10 08/10/2010 Sam Nelson sam @ unix.ms # # If you have a Solaris 8, 9 or 10 box and you can't # instal…
#mysql alias mysql="mysql –pager='less -niSFX'"