Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[BASH] locate all aliases to a command
10-21-2012, 01:54 PM
Post: #1
[BASH] locate all aliases to a command
Code:
cmd='ls' #list files command
type -all "$cmd" #list all aliases to ls

http://www.freelancecode.net/community/v...f=16&t=724
Find all posts by this user
Quote this message in a reply
10-21-2012, 07:28 PM
Post: #2
RE: [BASH] locate all aliases to a command
(10-21-2012 01:54 PM)codecaine Wrote:  
Code:
cmd='ls' #list files command
type -all "$cmd" #list all aliases to ls

http://www.freelancecode.net/community/v...f=16&t=724
Ha ha, interesting, ls (list of file info) and all aliases for ls.
Very good !

There's a fine line between genius and insanity. I have erased this line.
Oscar Levant
There's a fine line between an administrator and black hat hacker. I have erased this line.
Dr DEBCOL
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


 Quick Theme: