08-24-2010
Bash aliases should be specified in $HOME/.bashrc. .profile file is for setting general configuration, like $PATH variable, and it is used by sh shell, not bash.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
As a regular (non-root) user on Unix servers I'm accustomed to changing my .profile file to set paths that I frequently use, etc.
I am trying to learn unix and set up a test server running SunOS 5.8. When I login as root I don't see a .profile file that belongs to root wherein I could change the... (1 Reply)
Discussion started by: FredSmith
1 Replies
2. UNIX for Advanced & Expert Users
I need to configure my .profile so that it should always reflect my present directory path during my session. How can i do that.
Please help (1 Reply)
Discussion started by: satgur
1 Replies
3. Shell Programming and Scripting
I have been having an issue with the new motorola rf scan guns opening up too many sessions at once. It seems they will open a new connection for no reason, leaving the old one in the background and the user has no idea it is happening. To combat this, I have added the following code to the logon... (1 Reply)
Discussion started by: raidzero
1 Replies
4. UNIX for Advanced & Expert Users
Hi ,
I have modified .profile and after that i ran it as .profile. Now no command i working even ls is not working
When i type ls , it is showing that -ksh not found
I tried to run as . $home/.profile , it is saying as permission denied .
How can we do that .. any idea..
Thanks... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
5. Solaris
I have X4500 and I created a user. I wanted to give him root privileges and for editing the sudoers files I typed visudo sudoers. But it said visudo command not found. After googling I found that we need to set path in etc/profile. I edited that and put the following command
... (3 Replies)
Discussion started by: bharu_sri
3 Replies
6. UNIX for Advanced & Expert Users
Hi All,
I tried creating a .profile file but it is not working even after exiting the session.
But before that I will give a quick background.
I log into UNIX(SUN - ksh) and then SUDO to another user. After that I change DIRECTORY. In this DIRECTORY I tried creating the profile file but it... (4 Replies)
Discussion started by: sumeet
4 Replies
7. Shell Programming and Scripting
Hi,
My script is working fine in AIX but throwing an error in SOLARIS system.
Here is the error message that I am getting when calculating the elapsed time:
/home/x772525/FindETA.sh: start_mins = *60 + : syntax error
.
((start_mins = $(expr substr "$j" 1 2)*60 + $(expr substr "$j" 4... (6 Replies)
Discussion started by: ajayakunuri
6 Replies
8. Red Hat
Hello,
I'm new to RHEL and I was wondering where the prompt setup is from?
This what it looks like:
#
I like this setup but I would like to add some color to it. I looked in the .profile, .bash_profile and .bashrc. I don't see anything in these files that give me the above prompt. So I looked... (2 Replies)
Discussion started by: bitlord
2 Replies
9. Red Hat
Hi
I noticed that my bash profile has duplicate entries.
For example there are two entries for the variable
$APP_HOME = /app/soft/install
$APP_HOME =/app/software/install
Will this have any impact ? Please advise (2 Replies)
Discussion started by: nathan_nathan
2 Replies
10. UNIX for Beginners Questions & Answers
Hello Team,
Please help me to solve my Problem,
By mistake, I give full permission to /(root) directory. by using the following command "chmod -R 777 /"
after this, the client asks for the password to login via ssh. Before that, I an able to Login without a password.
Please help me to retrieve... (5 Replies)
Discussion started by: Shubham1182
5 Replies
LEARN ABOUT LINUX
aa-autodep
AA-AUTODEP(8) AppArmor AA-AUTODEP(8)
NAME
aa-autodep - guess basic AppArmor profile requirements
SYNOPSIS
aa-autodep <executable> [<executable> ...]
DESCRIPTION
aa-autodep is used to generate a minimal AppArmor profile for a set of executables. This program will generate a profile for binary
executable as well as interpreted script programs. At a minimum aa-autodep will provide a base profile containing a base include directive
which includes basic profile entries needed by most programs. The profile is generated by recursively calling ldd(1) on the executables
listed on the command line.
BUGS
This program does not perform full static analysis of executables, so the profiles generated are necessarily incomplete. If you find any
bugs, please report them at <http://https://bugs.launchpad.net/apparmor/+filebug>.
SEE ALSO
apparmor(7), apparmor.d(5), aa-complain(1), aa-enforce(1), aa-disable(1), aa_change_hat(2), and <http://wiki.apparmor.net>.
AppArmor 2.7.103 2012-06-28 AA-AUTODEP(8)