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
Unable to create alias mumashankar UNIX for Dummies Questions & Answers 3 05-01-2008 11:21 AM
Create Alias on Desktop yodomino6 UNIX for Dummies Questions & Answers 0 02-19-2008 02:36 PM
Alias a command b_garima UNIX for Advanced & Expert Users 2 10-22-2007 11:06 AM
How to create a alias with an argument ting123 UNIX for Dummies Questions & Answers 1 07-11-2007 08:43 PM
Create an alias mozark High Level Programming 1 10-08-2002 11:17 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 12-02-2002
cstovall cstovall is offline
Registered User
  
 

Join Date: Nov 2002
Location: Raleigh, N.C.
Posts: 78
Question I want to create a command alias

I want to create a command alias. I know what shell I'm
using, I just don't know which file to inter the command alias.

When I type "echo $SHELL" the output is as follows:
bin/sh

If I'm correct, this is the bourne shell. Does anyone know which file to edit in this particular shell? Thanks.
  #2 (permalink)  
Old 12-03-2002
yls177
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
if i am right, .profile
  #3 (permalink)  
Old 12-03-2002
criglerj's Avatar
criglerj criglerj is offline
Registered User
  
 

Join Date: May 2002
Location: Atlanta
Posts: 129
On IRIX 6.5 (and perhaps earlier versions and/or other Unixes), /bin/sh is the korn shell. As with the other reply so far, edit the .profile. But if you are using the Bourne shell (the usual /bin/sh), there are no aliases, though you may be able to create a function.
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 09:34 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