Category Archives: UNIX

Using An Alias

An alias is a pseudonym for a command, tool, utility, their options, arguments or combinations thereof. Aliases can be used to put a shorter typing handle on lengthy commands that one frequently uses. When using an alias the command and not … Continue reading

Posted in BSD, Bash, GNU/Linux, UNIX | Tagged , , , , | Leave a comment

How Long Has The Shell Been Running

SECONDS is the shell variable that records how many seconds a shell has been running. Example… See how many seconds the shell has been running… $ echo $SECONDS One can use the utility units to convert the output into hours, … Continue reading

Posted in BSD, Bash, GNU/Linux, UNIX | Tagged , , , , | Leave a comment

Setting Your Path

To change your path open .bashrc in your home directory with a text editor and change the variable PATH. Example… The PATH variable in .bashrc is set to… PATH=”/usr/bin:/bin:/usr/bin/X11:/usr/games” and you want to add /home/oznola/bin. Subsequently add the new directory … Continue reading

Posted in BSD, Bash, GNU/Linux, UNIX | Tagged , , , , | Leave a comment