Need help in setting .profile , .cshrc , .exerc ..... in HP-UX , Solaris , AIX-UX


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Need help in setting .profile , .cshrc , .exerc ..... in HP-UX , Solaris , AIX-UX
# 1  
Old 08-05-2010
Error Need help in setting .profile , .cshrc , .exerc ..... in HP-UX , Solaris , AIX-UX

I need help in settings to Hp-UX , Solaris , AIX-UX ..
I worked on Linux previously ... now i am working on Hp-UX , Solaris , AIX-UX ..

up/down arrow , to see history of previous command (basically to modify ) and few keyboard keys are different ... so i need to set .profile , .cshrc , ... to make the keys user friendly .

Need to know the Vi settings to see the source code syntax colors .
# 2  
Old 08-05-2010
These settings depend on the type of terminal you have and what Shell you will be using.
The first one to choose is the value of $TERM which would usually be set in .profile.

Which files to change depends on what Shell you are running. You mention ".cshrc" which implies "csh". Using "csh" just makes things awkward for yourself and is of no use to a Systems Administrator.
First choose your Shell wisely unless you are "root" in which case don't change it from the system setting.

Btw. The "vi" terminal key codes file is called ".exrc". The syntax is usually described in "man ex". On most unixes the editors ex, vi, edit, vedit and view are actually the same program which behaves differently according to how it is called.

Afaik there is no Operating System called AIX-UX though IBM's version of unix used to be called AIX.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Profile Max CPU Setting

I have a system with the following settings: min:0.10 Assigned: 2.0 Max: 6.0 Partition is uncapped weight is 128. I would like to know if even if this is uncapped, is the max it can use 6? The actual pool has 16. I remember reading about this somewhere but I don't remember can anyone... (3 Replies)
Discussion started by: techy1
3 Replies

2. UNIX for Dummies Questions & Answers

setting the profile

What's the purpose of setting the profile in side the script? however the user when logins, the profile wil be set. Then why we need to use that explicitly inside the script? Thanks (1 Reply)
Discussion started by: pandeesh
1 Replies

3. Shell Programming and Scripting

Sysdate setting in .profile

Hi, I need to append the current system date and time in my file which are being taken a backup by my shell script .so i added the following line in by .profile SYSDATE="$( date '+%d/%B/%Y/%S' )" export SYSDATE But it's a constant one rather then a sync with my system date ,so how can i do... (10 Replies)
Discussion started by: malickhat
10 Replies

4. UNIX for Dummies Questions & Answers

Setting up Bash profile

Hi, I have a SunOS -s 5.9 Generic_118558-39 sun4u sparc SUNW,Sun-Fire-V210 system. I need to set up my .bash_profile. I need to do the following thins. 1) set up history 2) Set up VI as my editor 3) Display the current directory at the prompt. I have tried using the set command, the... (1 Reply)
Discussion started by: kaushys
1 Replies

5. Shell Programming and Scripting

diffrence between .cshrc .login .profile

Hi.. i was just looking to know the diffrence between this three terms 1) .cshrc 2) .login 3) .profle but iam failed to findout the exact diffrent Please can any one share the diffrence between this regards Syed (1 Reply)
Discussion started by: smuqtaderali
1 Replies

6. UNIX and Linux Applications

diffrence between .cshrc .login .profile

Dear experts ... Please any one can describe the diffrence between this three 1) . cshrc 2) .profile 3) .login cheers syed (1 Reply)
Discussion started by: smuqtaderali
1 Replies

7. UNIX for Dummies Questions & Answers

Clarification on .cshrc,.exrc,.login,.profile,.sh_history files

All, I had a request to delete filed under a directory that was 35 days old . And they asked me to scedule it in CRON . I have done that . I have use find and delete with mtime to perfrom this task . But my script is not deleting this .cshrc,.exrc,.login,.profile,.sh_history file... (1 Reply)
Discussion started by: arunkumar_mca
1 Replies

8. UNIX for Advanced & Expert Users

Setting Up Profile.......Need Help Urgently

Hi I am not able to setup PS1 environment variable in .profile file in my Home directory.I am using RED HAT3 Linux.this is the excercise that i have done $echo $SHELL /bin/ksh $pwd /home/khan $ls -l .profile -rwxrwxrwx $more .profile set -o vi export PS1='khan' $echo $PS1 $ (13 Replies)
Discussion started by: reachtokhan
13 Replies

9. Shell Programming and Scripting

NLS_LANG setting in .profile

Hi In my .Profile file initially I had given export NLS_LANG="BRAZILIAN PORTUGUESE_BRAZIL.WE8ISO8859P1" and later I commented it. When I connect to sqlplus from shell prompt and query "select * from nls_session_parameters" it gives PARAMETER VALUE... (1 Reply)
Discussion started by: arksjd
1 Replies

10. UNIX for Dummies Questions & Answers

Setting LIBPATH in profile

Hi there, I wonder if anyone can help me. I run an application on an AIX 4.3.3 machine, for which I need to set up the LIBPATH environment variable for a specific user. I need this to be set up automatically when the user logs in (via Exceed), so I tried setting this in the .profile file. ... (7 Replies)
Discussion started by: durnelln
7 Replies
Login or Register to Ask a Question