The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Emdedding my script in to exit command sharif UNIX for Advanced & Expert Users 2 03-05-2008 07:14 AM
Getting the exit status of a remote command zoonalex Shell Programming and Scripting 1 08-23-2006 05:58 PM
SSH doesnt exit properly from command line frustrated1 SUN Solaris 4 06-16-2005 05:30 PM
Incorrect Exit Status Returned from FTP command - Help?? frustrated1 Shell Programming and Scripting 3 08-22-2003 04:25 AM
using exit command in a shell script jpprial UNIX for Dummies Questions & Answers 1 02-16-2001 12:45 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-28-2008
cdines cdines is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 7
Question exit command

Hi All,

Having just started using Unix after a long time on VMS, I end up having multiple Unix and VMS sessions open. Is there a way I can set up a symbol or something so that "lo" means "exit" and exits my session ?

On VMS, if I wanted to do the opposite of this I would do it like this :

exit :== lo

Then typing exit would issue the command lo (logout)

Thanks
  #2 (permalink)  
Old 05-28-2008
siba.s.nayak siba.s.nayak is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 166
I think you are asking about command alliasing.

alias lo="exit"

Regards,
Siba
  #3 (permalink)  
Old 05-28-2008
cdines cdines is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 7
Talking

Mate, you're a champion ! Cheers ...
  #4 (permalink)  
Old 05-28-2008
johnf johnf is offline
Registered User
  
 

Join Date: May 2006
Location: England
Posts: 284
Ctrl d does the same as exit what could be easier?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:19 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0