Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> .bashrc Question
PaulCurfman
post Oct 27 2008, 06:50 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 27-October 08
Member No.: 13,731



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
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 1)
docmur
post Oct 28 2008, 06:07 AM
Post #2


I Eat C Code for Breakfast
****

Group: Members
Posts: 276
Joined: 9-November 04
From: Canada Ontario
Member No.: 4,136



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.


--------------------
Gentoo ROCKS!!!!! Go and emerge the world
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 04:55 AM