Tags » Unix

Using awk(1) as an alternative for famous Unix commands.

Although AWK is very powerful programming language, few hold its true power in their hands. Usually you hear people say that only old-school Unix administrators or skillful developers have a good understanding. 144 more words


Creating an MS-DOS floppy image from a directory in Unix

For a long time I have needed a way to transfer data into my DOS virtual machines. I came somewhat close to a solution by… 420 more words


Step-by-Step - SCOM 2012 R2 Update Rollup 11 (UR11) Install Procedure

My personal notes,  SCOM 2012 R2 Update Rollup 11 (UR11) has a lot of networking monitoring fixes, Linux/UNIX support and security fixes, along with more OMS integration. 464 more words


scripts linux


set -o vi

# This is I think original PS1
## PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$'

# This PS1 prints HOSTNAME in window /h and VERSION /v
PS1='\[\e]0;\u@\v: \h: cmd# \#: /pts/\l : Time \t: \w\a\]${debian_chroot:+($debian_chroot)}\u@\$:\#:\w\$ '

# This PS1 prints USER /u \$ and then VERSION \v
PS1='\[\e]0;\u@\$: \v: cmd# \#: /pts/\l : Time \t: \w\a\]${debian_chroot:+($debian_chroot)}\u@\$:\#:\w\$ '

alias c=clear
alias d=date
alias e=exit
alias m='less -i'

alias ll='\ls -alrt'
alias llA='\ls -Alrt'

alias dird='\ls -alrt| grep ^d'

alias vmplayer='cd /home/<LOGIN>/Hadoop/cloudera-quickstart-vm-5.4.2-0-vmware; vmplayer cloudera-quickstart-vm-5.4.2-0-vmware.vmx; cd -; '

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then

. 1,046 more words