|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
![]() |
|
|
Search this Thread |
|
#1
|
|||
|
|||
|
Hello and Good day to all.
Im having a problem here and would like to know if there is any solution that could overcome my problem. I have changed from bash to csh (c-shell) yesterday on my Linux 7.2. When i do $echo $SHELL i can see the output /bin/csh which means ihave succesfully landed on c-shell. my question is when i do ls -a i cant see any .cshrc or .logout or .login files in my Home directory. Any idea. Another problem is the ll comand doesnt work in csh the only command works is ls -l or ls -a Any idea how to get the ll command work ? ll - long listing ? Thank you for your responsd. Appreciate it, John. |
| Sponsored Links | ||
|
|
|
#2
|
|||
|
|||
|
hey John!
I can answer your first question but not the second one. Actually you have to use following command to see all files startign with .(dot). ls -al after giving this command you can see the files start with dot(.) -al swith tell shell to list(l) all files starting with including those files starting with .(a). default is all files excluding .(dot) files. Hope this will work. Abid Malik |
|
#3
|
|||
|
|||
|
Tomato,
If i remember right a ls -l will give you the long listing in C shell. Also you could make an alias --> % alias ll ls -l % alias bye exit % alias ll ls -l bye exit % alias bye exit Please correct me if Im wrong!!! |
|
#4
|
|||
|
|||
|
Alias is dead on.....it's the only way that ll wil produce the long listing. It's best added to your profile for the shell....(.kshrc).
|
|
#5
|
||||
|
||||
|
Well, by "Linux 7.2", I assume you mean Redhat 7.2...
Redhat installs several aliases with bash by default. One of them is ll. Some others include: l. which, and actually, the "ls" command itself. (It's aliased to "ls --color=tty" to give you the perty colors). As far as the dot files, I don't believe Redhat ever installs them in /etc/skel, which is where the "master" copies lie, and are copied over when a new user is created. Looks like you'll have to make your own... BTW - why csh? |
| Sponsored Links | ||
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with if in shell | pradeep_script | Shell Programming and Scripting | 2 | 05-23-2008 01:49 PM |
| Shell Problem | dhananjayk | Shell Programming and Scripting | 14 | 11-21-2006 08:02 AM |
| shell problem | yeah016 | UNIX for Dummies Questions & Answers | 4 | 07-20-2006 10:10 AM |
| Shell Problem | oss | UNIX for Advanced & Expert Users | 8 | 10-04-2005 03:00 PM |
| shell problem | Lee | UNIX for Dummies Questions & Answers | 1 | 09-10-2001 10:18 AM |