Solved

AIX question

Posted on 2001-08-06
4
196 Views
Last Modified: 2010-04-21
What is the file that holds the settings that are kind of like path statements in windows?  So that when you type a command you only type the command and not the directory and command everytime.
0
Comment
Question by:tiger1477
4 Comments
 
LVL 3

Expert Comment

by:gcauthon
Comment Utility
For bourne shell, it is ~/.profile, look for the statement "PATH=".
For c shell, it is ~/.cshrc, look for the statement "setenv PATH".
0
 
LVL 11

Accepted Solution

by:
griessh earned 50 total points
Comment Utility
a few more ways ... do you want to know where to set them or do you want to find out where your current path is set?

In your home directory you will find several files that start with a '.' (this makes them invisible, use ls -ls to see them). The file that is used by your login shell is a starting point to look for the PATH variable. But that might already been set in a central login file ... so check these login scripts also for other scripts that get called.

.cshrc, .login, .profile are files to check. If you want to know where it is set (as long as it is in YOUR script), do a
grep PATH .*

======
Werner
0
 
LVL 3

Expert Comment

by:mrn060900
Comment Utility
Take a look at /etc/profile, this file is the default profile for all users, the .profile in the users home directory is used for individual changes/preferences.

Regards Mike
www.unixonline.co.uk
0
 

Author Comment

by:tiger1477
Comment Utility
Thanks for the help that gave me what I needed.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now