User Tools

Site Tools


unix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

unix [2007/06/08 16:43] (current)
damir created
Line 1: Line 1:
 +===== Unix and Linux =====
 +
 +Your home directory is named: ///​home/​YourLoginName//​
 +\\
 +====  Shells and Environment Customization ====
 + 
 +By default, you have a bourne shell (bash), meaning you can also type: //cd ~SomeLoginName//​ (eg: ~deatrich ) to reach your homedir. ​
 +The bash shell has many features, read the man page for more help.
 +\\
 +If you want to modify your environment,​ then you typically need to edit your //​.bash_profile//​ and/or your //.bashrc// file. For instance, suppose you want to add an alias to ...:
 +
 + $ alias '​lstime=ls -latr'
 +
 +This line means that every time you insert in the command line the command //lstime//, the bash will execute the more complex command //ls -lart//
 +
 +(not yet complete)
  
unix.txt ยท Last modified: 2007/06/08 16:43 by damir