LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 06-14-2001, 12:47 PM   #1
envirodug
LQ Newbie
 
Registered: Jun 2001
Posts: 4

Rep: Reputation: 0
Question


hello. i am new to linux, but somewhat familar w/ IRIX. i wanted to configure my .bashrc file (somewhat like my .cshrc file is configured on IRIX).

the first thing i want to do is change the command "ls" to be "ls -CFa" ... i figured out how to do it if i want to make "lf = ls -CFa" ... but i just want to make "ls" be "ls -CFa"

does anyone know how to do that?

and, can anyone point me in the direction of a good website discussing

a) the differences/advantages/disadvantages of all the shell types (csh, tcsh, bash, bash2, etc)

b) a good, explict, easy description of how to use the shell types ... and, specifically, change the .bashrc file (similar to the change i want to make above)

thanks for your help!!
 
Old 06-14-2001, 01:06 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
if CFa are the parms u want, then it should be (w/o double quotes) "alias ls='ls -FCa'"

I can't recommend any comparisons, Im happy with Bash, here's the URI to
BASH Programming and
the Bash Advanced Scripting How-to...
 
Old 06-14-2001, 11:00 PM   #3
envirodug
LQ Newbie
 
Registered: Jun 2001
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs down

Hi! Thanks for your response!

I added the following to my /home/blah/.bashrc file:

alias ls='ls -aCF --color'

However, even after i open a new window ... or even restart ... "ls" still acts as "ls"

If I add

alias ll='ls -aCF --color'

It works ... but, I don't want that Any suggestions?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where is bashrc ? Kanaflloric Slackware 12 10-06-2007 02:47 PM
.bashrc ? Longinus Linux - Newbie 2 03-27-2004 11:50 AM
no .bashrc? mattman Slackware 6 06-10-2003 03:59 PM
bashrc nobu Slackware 6 03-21-2003 10:53 AM
.bashrc prasad Linux - General 1 04-14-2001 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration