UNIX
UNIX systems usage, administration and development information.

Guests are welcome to view our materials. To subscribe, edit, view raw markup, etc., you'll need to register for an account. Accounts are free (and will always be free) - your involvement helps us directly and indirectly (by demonstrating that our work matters to our funders...) StartingPoints has more info.
UNIX

Unix Concepts


Alias
Allows you to save time when using a command for which you always want to use the same arguments

  • example: want color output for grep command
    • set your alias as follows:
      alias grep='grep --color'
    • now when you type grep it will always be in color (this session only, permanent changes need to go in your .bashrc file)
  • to set an alias for this session only, see alias command in UnixCommands
  • to permanently set an alias for a command, you will need to add the alias to your .bashrc file


Symbolic (Soft) and Hard Links
hard links

  • contains the same i-node number as the file it links to
  • must be on the same filesystem as the file it links to
     ln filename filename-hardlink 

symbolic links
  • allows linking across filesystems
  • contains the pathname to the file to which it links to
     ln -s filename filename-symlink 


-- RobertSajan - 14 May 2008

r3 - 30 Jul 2008 - 14:21:57 - HilaryHolz
Guests are welcome to view our materials. To subscribe, edit, view raw markup, etc., you'll need to register for an account. Accounts are free (and will always be free) - your involvement helps us directly and indirectly (by demonstrating that our work matters to our funders...) StartingPoints has more info.
This site is powered by the TWiki collaboration platformCopyright 1999-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Ahatwiki? Send feedback Syndicate this site RSSATOM