![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linux Shell Question: how to print the shell script name ? | meili100 | UNIX for Dummies Questions & Answers | 3 | 07-01-2008 10:55 AM |
| Difference between writing Unix Shell script and AIX Shell Scripts | haroonec | AIX | 0 | 04-11-2006 11:27 PM |
| How to run unix commands in a new shell inside a shell script? | hkapil | Shell Programming and Scripting | 2 | 01-04-2006 03:56 AM |
| how to convert from korn shell to normal shell with this code? | forevercalz | Shell Programming and Scripting | 21 | 11-22-2005 11:18 PM |
| simple shell - how to get a parameter typed in a shell script | cmitulescu | Shell Programming and Scripting | 3 | 12-05-2001 12:04 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#15
|
||||
|
||||
|
Wouldn't be the same add these lines in /etc/profile?
I tried and it didnt work... even in interactive and non-interactive.... I didn't find .bash_profile..... Last edited by ffpradella; 07-06-2008 at 07:39 AM. |
| Forum Sponsor | ||
|
|
|
#16
|
||||
|
||||
|
Create the file if it doesn't exist.
|
|
#17
|
||||
|
||||
|
reborg,
The file was created under /, and when I try cd ~ it points me also to /. The following was inserted into this file: alias ls='/usr/local/bin/ls --color=auto' however it didnt display colors.... did I make something wrong? Thanks, |
|
#18
|
||||
|
||||
|
Did you create both files? Also don't do this for root.
|
|
#19
|
|||
|
|||
|
(what specifically your ls alias is on your linux box does not really matter, that was just make you able to actually understand what to do)
i) Does "ls --color" or "/usr/local/bin/ls --color" give you colors? ii) It's no good idea to alias "ls" with some colorful "ls" globally as this might hurt some scripts seriously. |
|
#20
|
||||
|
||||
|
Reborg, I was checking in a Linux documentation and checked there is a filled called /etc/bashrc however I did not find this file in my Solaris. Also, I didnt find this file into ~ (/export/home/fpradell) as you suggested me to create a one... What is the difference between these files? Quote:
"/usr/local/bin/ls --color" worked. Thanks. Thanks! Last edited by ffpradella; 07-06-2008 at 05:09 PM. |
|
#21
|
|||
|
|||
|
sorry..
|
|||
| Google The UNIX and Linux Forums |