Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'When I enter "cp .bash_profile .bash_profile.old", I get...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
When I enter "cp .bash_profile .bash_profile.old", I get...
Authored by: jiclark on Sep 09, '06 04:59:16PM

cp: .bash_profile: No such file or directory

And this is after I've cd-ed to my home directory. Why wouldn't I have a bash_profile?

Man, the CLI can sure stump me...

TIA,
John



[ Reply to This | # ]
When I enter "cp .bash_profile .bash_profile.old", I get...
Authored by: deef on Sep 11, '06 12:16:48PM

Hi -- I didn't consider that possibility since I've already loaded lots of stuff into my .bash_profile -- but even if you get the "No such file or directory" message on step 3 you can actually proceed with step 4 -- when you type the command

pico .bash_profile

pico (the text editor) will either edit it (if it exists) or create it (if it doesn't), so the rest of the steps will be the same.

df



[ Reply to This | # ]