0

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?

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
1

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

  • 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
0

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

touch .kshrc

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.