ls flashing red


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users ls flashing red
# 8  
Old 09-26-2011
Quote:
Originally Posted by Corona688
wildcards don't work inside a link.

wildcards don't work in anything but a shell.
The directory exists though. What can I do if I need wildcards?

Code:
$ ls -l /usr/java/
total 4
lrwxrwxrwx. 1 root root   16 Sep 26 05:02 default -> /usr/java/latest
drwxr-xr-x. 7 root root 4096 Sep 26 05:02 jre1.6.0_27
lrwxrwxrwx. 1 root root   21 Sep 26 05:02 latest -> /usr/java/jre1.6.0_27

# 9  
Old 09-26-2011
Quote:
Originally Posted by COKEDUDE
The directory exists though.
It does not. There is no directory named "/usr/java/jre*" there.
Quote:
What can I do if I need wildcards?
Your listing shows two symlinks in the problem dir, 'default' and 'latest', which point to the place you need. Why not use /usr/java/default/ ?
# 10  
Old 09-26-2011
Quote:
Originally Posted by Corona688
It does not. There is no directory named "/usr/java/jre*" there. Your listing shows two symlinks in the problem dir, 'default' and 'latest', which point to the place you need. Why not use /usr/java/default/ ?
How would I do that?
# 11  
Old 09-26-2011
Just use it. Imagine the actual folder is named /usr/java/default instead of /usr/java/jre1.6.0_27. That's what it acts like. 'default' ought to be updated whenever you install a new JRE, and if it isn't, is easy to fix.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ?

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

2. Shell Programming and Scripting

Flashing and Animated Scripts ..

Guy's is there some one has Flashing and Animated Scripts .. like the welcoming interface coming in AIX and Flashing or Animated Scripts to beautify the manuscript ... :) ... (0 Replies)
Discussion started by: ITHelper
0 Replies

3. Red Hat

Red-hat

Hello, How do I see what IP addresses are connected to my machine? thanks (2 Replies)
Discussion started by: sonomao
2 Replies

4. UNIX for Dummies Questions & Answers

flashing cursor

I am running a psychology experiment with a UNIX shell script as a front end. This precedes each trial: echo -e "\n\n\n ***Ready***" sleep 1 clear Is there a way to get rid of the flashing cursor after the clear command has been executed or another command I could use instead? It is a... (0 Replies)
Discussion started by: darwin_886
0 Replies

5. HP-UX

System LED flashing

hi guys, i have 2 hp-ux servers at my office with flashing system LED. am very new to hp-ux...no much of access directly to the server. how can i check for faults relating to this flashing of this system LED? the DC is pretty far from my office...all i have is an ssh access into the server.... (4 Replies)
Discussion started by: cromohawk
4 Replies

6. Linux

red hat ee 2.6.9-42

hello. I would be greatfull if someone could tell me how will i see what dns server and gateway my red hat server uses. I tryied to find out by typing ifconfig command but i got : -bash: ifconfig: command not found , although man ifonconfig gives output with info about using that command. Is... (3 Replies)
Discussion started by: tonijel
3 Replies

7. UNIX for Dummies Questions & Answers

UNIX Command for flashing????

What's the command to show text on any Xwindow that makes the text flashing / blinking ??? (1 Reply)
Discussion started by: rwunwla
1 Replies
Login or Register to Ask a Question