Find the answer to your Linux question:
Results 1 to 3 of 3
The Alias gives nick to other commands for example alias c="clear" this command create a nic "c" for "clear" command but when you relogin these alise was cleared. How can ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2006
    Location
    Pakistan
    Posts
    9

    little about alias


    The Alias gives nick to other commands
    for example
    alias c="clear"
    this command create a nic "c" for "clear" command
    but when you relogin these alise was cleared.
    How can i put it permanently.


    thanxxx

  2. #2
    Just Joined!
    Join Date
    Dec 2005
    Posts
    20
    Let's see...permanent aliases.

    If you use bash, like me, open (or create) ~/.bash_profile inside here, you can place bash commands to be executed when you login. If, for example you had an alias line in that file, it would set up the alias automatically for you.

    There's other special files like this: ~/.bash_logout gets executed when you logout. For this one, I recommend having "clear" (no quotes) in the logout file so the information showing at the end of the session is cleared from other people's view.

  3. #3
    Just Joined!
    Join Date
    May 2006
    Location
    Pakistan
    Posts
    9

    little about mount

    mount
    for example
    mount [sorce path] [destination path]
    mount /dev/hda5 /ibrach
    this command create a mount point of hda5
    but when you relogin these mounts was cleared.
    How can i put it permanently.



    thanksss

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •