Find the answer to your Linux question:
Results 1 to 3 of 3
Say if I wanted to type "sudo apt-get", is there anyway I just type "s" and it turns into or means "sudo apt-get"? What would I have to do to ...
  1. #1
    Just Joined!
    Join Date
    Dec 2011
    Posts
    1

    How would I compress a command in terminal?

    Say if I wanted to type "sudo apt-get", is there anyway I just type "s" and it turns into or means "sudo apt-get"?
    What would I have to do to do that?

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Quote Originally Posted by fortitude View Post
    Say if I wanted to type "sudo apt-get", is there anyway I just type "s" and it turns into or means "sudo apt-get"?
    Hello and welcome!

    You could use the alias command:

    How to use the alias command
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,298
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

Posting Permissions

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