LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-11-2003, 11:03 PM   #1
yeahoo7
LQ Newbie
 
Registered: Jun 2003
Posts: 5

Rep: Reputation: 0
making long commands short.


how do i make some kind of short cut command for a long commands?

i've done it before, just can't remember it now.

ex) ls -lr to just "lr"
 
Old 06-11-2003, 11:53 PM   #2
awdoyle
Member
 
Registered: Aug 2002
Location: Portland, OR
Distribution: Xubuntu
Posts: 135

Rep: Reputation: 15
Assuming you're using bash:
alias lr='ls -lr'
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
making commands permenant cerealdaemon Linux - General 4 05-16-2005 01:02 AM
argument list to long for linux commands supersucker Linux - Newbie 1 05-10-2005 07:36 AM
Making ext2 -How long does this take stickyrabbit Linux - Newbie 1 03-21-2005 10:04 AM
Making short cuts in linux?? djadhav Linux - General 1 05-29-2004 01:53 PM
Making Commands for an Applikation dragomir Linux - Newbie 2 02-21-2004 08:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration