![]() |
|
|
|
|
|||||||
| 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 |
| TAHI Test Suite 3.0.13 (IPv6 Conformance Test Tool branch) | iBot | Software Releases - RSS News | 0 | 04-06-2008 09:20 AM |
| test if there are files in directory | RSAM2007 | UNIX for Advanced & Expert Users | 1 | 10-17-2007 01:52 PM |
| Keithley Introduces Linux-Based RF Parametric Test Systems - Test and Measurement.com | iBot | UNIX and Linux RSS News | 0 | 07-23-2007 07:30 AM |
| how to test filename is file or directory | balireddy_77 | Shell Programming and Scripting | 1 | 11-01-2006 06:20 AM |
| How to test directory availibility | santuna | HP-UX | 3 | 09-30-2005 05:40 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#8
|
|||
|
|||
|
a quick way to solve your prob is you can customize your .profile to add an ls alias which lists all files including hidden by default.
|
| Forum Sponsor | ||
|
|
|
#9
|
||||
|
||||
|
1) to make the file visible. Please remove the . from the file name.
2) when you remove . the file name turns to file. 3) but there is already a file with the name "file". 4) So you have to rename the .file to some other name. so try mv .file file1 it should be working !!! Thx, Siva. |
|
#10
|
||||
|
||||
|
I Hope there is no other soln. than renaming.
Because Unix directory does not supports 2 files with same name so you can append a symbol like % infront of .file like %file or you can rename to another file. to make it visible. Thx, siva. |
|
#11
|
|||
|
|||
|
In PC-DOS and hence OS/2 and Windows, hidden is an attribute of a directory entry.
In UNIX there is merely a convention to treat files with a leading period as hidden. |
|
#12
|
||||
|
||||
|
Quote:
Code:
bash-3.00# cd /tmp bash-3.00# touch test .test bash-3.00# ls -lid test .test 37946100 -rw-r--r-- 1 root other 0 Dec 28 03:41 .test 36778413 -rw-r--r-- 1 root other 0 Dec 28 03:41 test |
|
#13
|
|||
|
|||
|
then doesnt it sound like an error in UNIX system. that we actually have to change file names to make them visible.
like suppose one installed program reads from the file /home/vik/impdata then one day i find that i have confidential data in impdata and want to make it hidden. in that case. in that case that program too will stop working as the file name has changed. some of you might think am dragging this issue a little too further but i really believe that this is not the correct way( rename) to make a file hidden |
|
#14
|
||||
|
||||
|
It does not seem like an error in the filesystem to me.
|
||||
| Google The UNIX and Linux Forums |