Computing.Net > Forums > Unix > files to configure ksh

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

files to configure ksh

Reply to Message Icon

Name: giuliano
Date: October 5, 2003 at 14:37:10 Pacific
OS: Unix
CPU/Ram: ?
Comment:

Hi,

I have installed sun solaris on my pc and try to configure it, but to be honest i do not have no clue about unix.
I created some alias which works and put some new variables in my env like
alias rm='rm -i' and
export EDITOR=/usr/bin/vi
EDITOR is on my env now and I can use rm which will prompt me to the question if I want to delete the file y/n. Everything is fine till now, however when I logout and than login again, neither my Editor is there nor my alias. I have read they should be configured in my .profile? I do not have a .profile in my home directory, all what I have is there is lost+found folder. I searched in /etc/ as well and there i have just profile which is a generic one. Do I need to create a .profile? How do I do this? I tried simply to create a file with touch .profile, but it says permission denied. Does the ksh shell uses an other file to configure itself apart from .profile?
Can somebody help me? I know there are many questions but any help would be appreciate.
Regards
Giuliano



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: October 5, 2003 at 15:03:28 Pacific
Reply:

Sign in as a non-root user. Type

pwd

You should have something like

/home/username

Unless you are not the owner of your directory, for some reason like you did mkdir /home/username as root you should be able to edit files in your own directory.

echo "alias rm='rm -i'" > .profile

should create the .profile file with that line. You can also use vi if you like

vi .profile


0
Reply to Message Icon

Related Posts

See More


inserting data into a fil... man command



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: files to configure ksh

How to convert text file to html www.computing.net/answers/unix/how-to-convert-text-file-to-html/4709.html

Help ! Help ! I need help to configure XF86 www.computing.net/answers/unix/help-help-i-need-help-to-configure-xf86/180.html

Attaching files to e-mails in HP-UX www.computing.net/answers/unix/attaching-files-to-emails-in-hpux/2447.html