Results 1 to 3 of 3

Thread: Using Alias command in Linux

  1. #1
    OrtizCooper is offline Banned
    Join Date
    Dec 2009
    Posts
    186
    Rep Power
    0

    Default Using Alias command in Linux

    To generate helpful shortcuts of ready command line I would like to utilize alias command. But I didn’t have much information about it so please tell me how to use this command and drawbacks of it. Also tell me about shred command.

  2. #2
    SullivanWalker is offline Senior Member
    Join Date
    Dec 2009
    Posts
    189
    Rep Power
    3

    Default

    An alias is command defined by user, which call other command. His interest lies in chance to utilize shortcuts for commands with many options that utilize often. To utilize earlier example, command shred it was needed to remove file by rewriting over 50 times and writing zeros earlier than Suppress, enter following command - shred -uvz -n 50.

  3. #3
    HowardAllen is offline Senior Member
    Join Date
    Dec 2009
    Posts
    196
    Rep Power
    3

    Default

    As a result of aliases we able to decrease number of characters to entered to permit execution of command. To make alias of shred command with -n UVZ-50, continue as follows alias del=shred shred -uvz -n 50. Here del is alias of command shred with options specified. You can check alias now and see effect.

Similar Threads

  1. Command line vs. GUI in Linux
    By JacksonPerez in forum Linux/Free BSD
    Replies: 1
    Last Post: 06-11-2010, 01:43 PM
  2. Removing line with sed command in Linux
    By FosterWood in forum Linux/Free BSD
    Replies: 1
    Last Post: 03-15-2010, 02:11 PM
  3. Ls command for MAC OS X
    By LewisClark in forum Operating System
    Replies: 2
    Last Post: 02-09-2010, 02:17 PM
  4. Replies: 0
    Last Post: 07-30-2009, 12:08 PM
  5. The CLS Command
    By Cadmus4778 in forum Everything Else
    Replies: 0
    Last Post: 11-29-2008, 10:17 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48