How can I customize my login script?

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How can I customize my login script?
# 1  
Old 09-24-2007
How can I customize my login script?

I am realatively new to UNIX (I started 1 week ago), and I need some help on an assignment.

I am trying to find the file that will allow me to modify my login. I did some research, and most of my sources tell me to modify the ~/.cshrc and ~/.login files. The problem is that I cannot find any of those 2 files. I need to modify my login script in such ways that I can customize my prompt, launch my internet browser, etc.

I am *not* asking you to do my assignment. I only need someone to tell me how to start and point me in the right direction, please.
# 2  
Old 09-24-2007
Have a look in your home directory as follows...

1. determine your home directory

echo $HOME
echo ~

and see if they all match.

2. A file that begins with . is normally invisible, do the following

ls -ld ./.*

if you have a .profile or similar it should show up, use cat (or more or less) to show it's contents.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Customize the Shell Script output

Hello guys. about two weeks ago i had a question about customizing output and thanks to you guys i could solve it. now i have a similar question but this time its little complex. this is my output: -------------------+--------------------+---------+--------- ias-component | process-type ... (3 Replies)
Discussion started by: Ymir
3 Replies

2. Shell Programming and Scripting

Customize the Shell Script output

Hello guys. i wan to write an script to Customize this output: -------------------+--------------------+---------+--------- ias-component | process-type | pid | status -------------------+--------------------+---------+--------- DSA | DSA | ... (10 Replies)
Discussion started by: Ymir
10 Replies

3. Shell Programming and Scripting

Trying to customize auditd.cron

Hello all, I'm trying to update auditd.cron to force rotate daily and gzip audit.log.1. I will probably then remove anything older that 3 months. The part I don't like about my script right now is the sleep command. It seems that the "/sbin/service auditd rotate" command must use a different... (2 Replies)
Discussion started by: cdlaforc
2 Replies

4. AIX

Customize Roles - HMC

Hi All, i would like to know if it's possible to create a new custom role on HMC to manage only one LPAR and few activity on it (START,STOP,CONSOLE). It's possible create this custom role? If yes where i can read something about? Thanks in advance. Bye. Zio (1 Reply)
Discussion started by: Zio Bill
1 Replies

5. Shell Programming and Scripting

help me with customize script.

Hi forum members, I have customize command which is opening in one user and while I am try from my user it is not working and getting the message KSH not found. This command is used to open encrypted file ,this command take arguments file name and option ie plz find the below command. ... (1 Reply)
Discussion started by: sivaranga001
1 Replies

6. Solaris

customize dtlogin

Hello out there! I'm using dtlogin with my SunRay 2 and SunRay Server Software 4.0. Now I want to customize the look an funcionality of the dtlogin. e.g. disable the Options - Button or change the Helptext. Can anybody give me a hint where to find a good manual for dtlogin or which files I... (2 Replies)
Discussion started by: Blang
2 Replies

7. Shell Programming and Scripting

Can I modify the .bashrc file instead of .profile file to customize my login?

Hello, I got this question which tells me to customize my login script. Some people in the forums suggested to modify the .profile file in my home directory. I did so, but none of my customizations show up when I open the terminal after. So, I tried to modify other files in my home directory,... (1 Reply)
Discussion started by: Hyunkel
1 Replies

8. UNIX for Dummies Questions & Answers

Customize CDE

Dear Experts Could you please advise how can I customize my CDE. I am working with solaris 2.8. As an example I wish to have 3 open xterms after any login to my account also I want to define short keys and change my prompt. Please advise. Best Regards Reza (5 Replies)
Discussion started by: Reza Nazarian
5 Replies
Login or Register to Ask a Question