Alias confusion - multiple commands ? | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Alias confusion - multiple commands ?

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 11-17-2003
HikerLT HikerLT is offline
Registered User
 
Join Date: Nov 2003
Last Activity: 27 June 2013, 8:17 AM EDT
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Alias confusion - multiple commands ?

I've read the man on the alias command, and I am perplexed. I don't see a way to create an alias that will perform more than one command......is there a way to create an alias that is a string of a commands ?
Sponsored Links
    #2  
Old 11-17-2003
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 25 July 2014, 6:22 AM EDT
Location: Ashburn, Virginia
Posts: 9,895
Thanks: 58
Thanked 413 Times in 248 Posts
Depends on the shell. With ksh, no you can't. You're supposed to use a function instead.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Create alias files (not alias commands) Alexander4444 UNIX for Dummies Questions & Answers 3 04-16-2012 10:57 AM
alias commands daveisme Shell Programming and Scripting 1 06-03-2011 01:46 PM
Passing arguments to alias with multiple commands derndingle UNIX for Dummies Questions & Answers 5 05-20-2011 11:05 AM
How to make delays between multiple commands in an alias (ircII)? guitarscn UNIX for Dummies Questions & Answers 1 09-24-2010 12:11 PM
Alias commands Mars8082686 UNIX for Dummies Questions & Answers 2 08-08-2006 03:45 PM



All times are GMT -4. The time now is 08:54 AM.