Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to make the UP arrow to get previous command in Korn Shell but I can't find .kshrc file in my $HOME directory. I know it is hidden but even ls -al doesn't show it. What should I do?

share|improve this question

migrated from stackoverflow.com May 24 '13 at 5:18

This question came from our site for professional and enthusiast programmers.

1  
You probably don't have one. Just make your own using touch or an editor. –  squiguy May 23 '13 at 20:41
add comment

2 Answers

up vote 1 down vote accepted

If .kshrc does not exist just create one.

.kshrc is a text file. Its name is .kshrc

One way to create it is open up your favourite text editor and save a file to your home directory called .kshrc

share|improve this answer
    
how can I create it? what type of file is it? –  CuriousGuy May 23 '13 at 20:42
    
@CuriousGuy see edit. But its just a text file. –  FDinoff May 23 '13 at 20:48
add comment

You can create it in your home folder. in terminal , go to your home folder and type following command

touch .kshrc
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.