There is a * after file name, what does it mean ?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers There is a * after file name, what does it mean ?
# 1  
Old 11-13-2009
There is a * after file name, what does it mean ?

Code:
[root@node01 Gateway]# cd /usr/people/MSI/MaterialsStudio/Gateway/
[root@node01 Gateway]# ll
total 96K
drwxr-xr-x 12 5000 users 4.0K Oct 19  2004 apache/
drwxr-xr-x  3 5000 users 4.0K Oct 19  2004 config/
drwx------  3 root root  4.0K Nov 11 10:43 configurations/
-rwx------  1 root root  6.2K Nov 11 10:44 gwcmd.sh*
-rwx------  1 root root    76 Nov 11 10:44 gwconfigtest*
-rwx------  1 root root   330 Nov 11 10:44 gwdeconfigure*
-rwx------  1 root root   344 Nov 11 10:44 gwdeconfigureall*
-rwx------  1 root root   353 Nov 11 10:44 gwinfo*
-rwx------  1 root root   352 Nov 11 10:44 gwperl*
-rwx------  1 root root  1.6K Nov 11 10:44 gwpid.sh*
-rwx------  1 root root   714 Nov 11 10:44 gwrestart*
-rwx------  1 root root   409 Nov 11 10:44 gwsecurity*
-rwx------  1 root root   774 Nov 11 10:44 gwstart*
-rwx------  1 root root   667 Nov 11 10:44 gwstop*
-rwx------  1 root root   386 Nov 11 10:44 gwtest*
-rwx------  1 root root   452 Nov 11 10:44 gwusers*
drwxr-xr-x  2 5000 users 4.0K Oct 19  2004 legal/
-rwx------  1 root root   902 Nov 11 10:44 msgateway_control_18888*
drwxr-xr-x  4 5000 users 4.0K Oct 19  2004 perl/
-rw-r--r--  1 5000 users 5.1K Oct 19  2004 README.txt
-rw-r--r--  1 5000 users   15 Oct 19  2004 revision.txt
drwx------  4 root root  4.0K Nov 11 10:44 root_default/


Last edited by cqlouis; 11-13-2009 at 11:50 PM..
# 2  
Old 11-14-2009
* means executable...


Code:
man ls
.......
 -F, --classify
              append indicator (one of */=>@|) to entries
.........


When you have the specific option, you get different indicators, @ for link, * for executable, / for dir ..
# 3  
Old 11-14-2009
nice,
i didn't knew that.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script (sh file) logic to compare contents of one file with another file and output to file

Shell script logic Hi I have 2 input files like with file 1 content as (file1) "BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt File 2 contents as fle(2) "BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt I want to get... (22 Replies)
Discussion started by: pottic
22 Replies

2. Shell Programming and Scripting

Compare 2 text file with 1 column in each file and write mismatch data to 3rd file

Hi, I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file. File1 - file2 = file3 wc -l file1.txt 58112 wc -l file2.txt 55260 head -5 file1.txt 101214200123 101214700300 101250030067 101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies

3. Shell Programming and Scripting

Match list of strings in File A and compare with File B, C and write to a output file in CSV format

Hi Friends, I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving... File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies
Login or Register to Ask a Question