Help - Search - Members - Calendar
Full Version: .bashrc Question
Linuxhelp > Support > Technical Support
PaulCurfman
Hello,

I am student taking a college course where we have to do some basic linux commands. The instructor has been intentionally vague and told us to hunt down our answers across internet message boards.

I use Putty to telnet into this, so all I have is a prompt to type from.


I am supposed to edit my bash file using pico. I understand how to get into pico, I dont understand how to properly edit the bash file.

I am supposed to add commands for the following which i think will be aliases.

display contents of a directory = mycd
display date and time = mydt
logoff = myexit

So my question is how do I open this file with Pico, what is the proper syntax to do this, and what bash file do I use? I am able to see the following bash files .bash_history, .bash_logout, .bash_profile, .bashrc.

Any help would be appreciated. Thanks
docmur
Simple just do pico .file

Then create a aliase

so ALIASE mydt date ............

That should work of course I just want to state that I've never actually done this. I also have a Linux course but the prof I have is a complete idiot.
He doesn't think theres a difference between Gcc 3 and Gcc 4 and doesn't understand how to work directly wit hthe kernel.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.