LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux Console & Bash (https://www.linuxquestions.org/questions/linux-newbie-8/linux-console-and-bash-6462/)

outsider 09-12-2001 08:22 AM

Linux Console & Bash
 
I am a newcomer to the linux world &
my questions are pretty basic.
How do i set color in my linux console?
and what is default startup script for
the bash shell.does csh shell has any added
advantage over bash?

sbscomp 09-13-2001 03:07 PM

Re: Linux Console & Bash
 
Default startup file for bash: .profile

CSH/TCSH over BASH: It depends on your preferences. I personally use TCSH, but BASH is much easier to use when you're starting out. Take a look at the man pages for BASH and CSH or TCSH, and see which one looks more comfortable. On the surface, though, they both operate the same for general commands, etc. (i.e., you can still execute commands the same way). An example of a difference is in the setting of environment variables (BASH: export x=y; TCSH: setnv x y).

Setting color in console: What do you mean by setting color? If you are wanting color ls listings, put the command "alias ls=ls --color" in your .profile (for BASH) and everytime you type ls it will give you a color listing.

Quote:

Originally posted by outsider
I am a newcomer to the linux world &
my questions are pretty basic.
How do i set color in my linux console?
and what is default startup script for
the bash shell.does csh shell has any added
advantage over bash?



All times are GMT -5. The time now is 11:20 AM.