Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I have a homework assignment due soon and I am completly stuck... it says i have to make a copy of my .bashrc file but ive been searching for it for a while but haven't found it... I've searched in multiple directories for it and i cant find anything on it. Below is a what my homework says to do... Any suggestions will help - thanks
CS-140 Fall 2005 Assignment 3: customizing the shell
Modify (or create) a copy of your .bashrc file as described below. Submit the file to the assignment 3 dropbox in D2L. The assignment is due Tuesday, October 18th, by 11:59pm.
Assignment: Customizing the Shell
This assignment is more free-form than previous ones. You'll be asked to make 3 different types of modifications to your .bashrc file, but you will have some discretion as to which specific changes to make.
Copy your .bashrc file
You could make inadvertent changes to your .bashrc file that hinder your ability to work in UNIX. It’s good to do your work on a copy of the .bashrc file first. Remember that files with a period at the beginning of their name are invisible. A good name for the copy might be "cs140_bashrc". If no .bashrc, create a new, empty file named cs140_bashrc.
Open the copy of the .bashrc file
The file may contain many lines of text that make no sense to you. You should leave these, and just add lines to the end of the copy of your .bashrc file.
Change the Prompt
You should set the prompt to display something other than the default. For full credit, the prompt should include the current working directory, user name, or other PS1 format string.
Set the History
You should tell the shell to keep 140 commands in its history, and echo the command you used to do this to the screen.
Alias at least 3 commands that will make your life easier. One common alias for DOS users is to alias dir to be recognized as some form of ls. You could make more descriptive names for other commands, like wordcount for wc.
You can see the effects of your changes to the copy of the .bashrc file immediately by using the command “source <file name>”. This causes the shell to run <file name> immediately.
Preparing Your Assignment
Submit the modified copy of your .bashrc file to the assignment 3 dropbox in D2L. If you wish, you can replace your existing .bashrc file with the modified version using the mv command.
I would assume then(I am no guru)that if you loked in your home dir and didn't find it...did you try the
If not found, according to your instructions you are to create one.
I looked again but no luck... i realize that it says if its not there then i have to create one, but doesn't the .bashrc file have set variables and values that are only in the .bashrc file... and if i created one where do i get the script for it