Padding Padding
Janet
Systems
 Register  Login 
Telephone  01628 566 178
Website Design, Hosting and Software Services
  Search 
Padding
corner Padding corner
Padding Padding
corner Padding corner
 Linux Articles

When entering commands at the command line, its often nice not to enter all of the command.  One of the commands I like to be able to shorten is the dir command, to d.  This may be done by editing the .bashrc file in the home directory and adding a line with the alias command, the syntax of which is:

alias [-p] [name[=value] ...]

      unalias [-a] [name ... ]

so our line of code is

alias d='dir'


This article viewed: 149 times Back

Copyright © 2004-2007 Janet Systems Ltd.

 Print   

Dedicated servers from Janet Systems
DotNetNuke Website Hosting
Custom DotNetNuke skins
Padding
Copyright 2002-2008 Janet Systems Ltd.   Terms Of Use  Privacy Statement Thursday, July 24, 2008