- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- regarding hidden files
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 11:31 AM
03-04-2002 11:31 AM
when I type the ls command, why do I show my hidden files. I see my hidden files wheather I type ls or ls -asl. What am I doing wrong? Any help is greatly appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 11:35 AM
03-04-2002 11:35 AM
Re: regarding hidden files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 11:38 AM
03-04-2002 11:38 AM
Re: regarding hidden files
It could be an 'alias' issue. Check your global and local profiles for any alias settings. Also 'alias' command will list you the current defined aliases.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 11:38 AM
03-04-2002 11:38 AM
Re: regarding hidden files
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 11:52 AM
03-04-2002 11:52 AM
Solution.blah+
then yes they are "hidden" from non owners using "ls", but if you are root, you will always see them, and if you use "ls -la" you will always see them, regardless of the user.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 11:57 AM
03-04-2002 11:57 AM
Re: regarding hidden files
Type:
alias ls
You must have an alias set to ls as ls -la...which will display all your . (dot files)
-Shabu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2002 05:10 AM
03-06-2002 05:10 AM
Re: regarding hidden files
If so, then this is the normal behaviour. The ls(1) manual page is not very specific about this, but does somewhat mention it:
> -A The same as -a, except that the current directory "." and
> parent directory ".." are not listed. For a user with
> appropriate privileges, this flag defaults to ON, and is
> turned off by -A.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2002 08:08 AM
03-06-2002 08:08 AM
Re: regarding hidden files
It appears your answer was just the difference in how ls works for superusers and non-superusers. Hidden files (beginning with ".") are displayed when root runs ls.
For later readers, if you are using the posix shell, enter "whence -v ls" to see what the shell intreprets "ls" to be. See man sh-posix for more info.
Darrell