SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
hey guys i read this
First things first, let's get a decent looking prompt. Go to your home directory by typing:
and then create a text file called .bash_profile. Inside .bash_profile, type the following:
if [ -f ~/.bashrc ]; then
and save it. The create/edit your .bashrc (in the same directory) and type in the following:
alias ll='ls --color -l'
export PS1 LS_COLORS
Logout and re-login. Try typing 'll' and see if your .bashrc was ready properly. Make sure your prompt looks correct.
and it worked i changed the login prompt, but i really dont know HOW it worked....for example i kno the PS1= changes the cli shell prompt...so can someone please give me a run down of how i did this and if possible could they elaborate a little bit..thanks
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
the .bashrc stuff was just to make sure .bashrc got loaded.
yes PS1 is the prompt. man bash would show you the
different settings you can have for that. the LS_COLORS
line assigns certain display colors to the types of files
listed. the number is the color. i can't remember where
to find those.
the alias line for ll runs that line after when you type ll.
the --color is for ls to display files in different colors.
i think there is a prompt howto on the web. and there
is a site that will let you pick whatever properties you
wish for a prompt, and it will create the code for you.
Originally posted by roofy nm i installed rh 7.2, i dont think im mentally ready for slack yet
That was quick.. Slack isn't any harder than Redhat, Redhat just has more GUI tools and such to work with. I quite frankly find most other distro's like Redhat, Mandrake and the such much more confusing as they tend to move things around, have longer and more complicated config files, making them harder to understand, etc.. Oh well, good luck with Redhat.
well i never use the gui anyway cuz i dont have an extra monitor so i just use ssh to admin my systems...i like rh becuase i compile my software and it works becuase it follows standard dir structure..just my bag i guess