- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
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
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
тАО07-15-2009 02:19 PM
тАО07-15-2009 02:19 PM
i want to make some hidden files as unhidden.
Plz help me on this
regards
himacs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 02:29 PM
тАО07-15-2009 02:29 PM
Re: hidden files
To make it as unhidden kindly remove the . symbol infront of the filename
Example
if it is .Test means make it as Test
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 02:32 PM
тАО07-15-2009 02:32 PM
Re: hidden files
Define "hidden".
If you mean files whose name begins with a dot ('.') then add the '-a' switch to 'ls'.
If you mean files (usually temporary ones) that have been opened; unlinked (removed) but are still in-use until the last process using them terminates; then you need to use 'lsof' available from the HP Porting Centre.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 02:32 PM
тАО07-15-2009 02:32 PM
Re: hidden files
Thanx for the reply...
actually my profile .profile is hidden. I want to unhidden this.Any commands r there to make file as unhidden..
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 02:41 PM
тАО07-15-2009 02:41 PM
Re: hidden files
i have some files under home directory like profile,.login etc.I use ls -la to list these files in some servers.But remaining servers i use ls or ll to list.
i heard that ls -la used to list hidden files.
So i want those files to list once i enter ls or ll not ls -la.
i dont want remove dot(.) from any files.
my servers are B.11.23
help on this
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 03:07 PM
тАО07-15-2009 03:07 PM
Solution> I heard that ls -la used to list hidden files. So i want those files to list once i enter ls or ll not ls -la.
OK, define an alias for 'ls' in your '${HOME}/.profile' or in '/etc/profile' assumiong that your users use the POSIX or Korn shell. Add a line like this:
alias ls='ls -a'
Now whenever you type 'ls' it will be as if you entered 'ls -a'. This allows you to add additional switches. For example:
# ls -lt
...acts as 'ls -alt'
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 03:14 PM
тАО07-15-2009 03:14 PM
Re: hidden files
I agree with James..
I tried Mr.James idea and it is working fine.
you can apply the same if you wish..
Thanks James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 03:15 PM
тАО07-15-2009 03:15 PM
Re: hidden files
"-A" might be less annoying than "-a".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 04:58 PM
тАО07-15-2009 04:58 PM
Re: hidden files
ls
echo *
Since this is a basic Unix concept, it is best to learn the rules rather than look for a special workaround.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 03:41 AM
тАО07-16-2009 03:41 AM
Re: hidden files
>I don't want remove dot(.) from any files.
Simply hardlink each:
$ ln .profile profile
Then you have both. One for doing and one for looking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 04:34 AM
тАО07-16-2009 04:34 AM
Re: hidden files
Due to security reasons these files kept as hidden and can be viewed with -a option except for root user. root user can view without -a option.
So donot try to change the file format from .filename
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 04:48 AM
тАО07-16-2009 04:48 AM
Re: hidden files
I've never heard that. Dot files are hidden because you don't want to waste time looking at them, it's a user interface bell and whistle.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 05:21 AM
тАО07-16-2009 05:21 AM
Re: hidden files
I hide files the old fashioned way.
With user permissions
chmod o-rwx filename
Then users in the group can not read, write or execute.
chmod g-rwx
Then users in the same group as the owneralso can not read write or execute.
If you want, you can even hide files from yourself.
No matter what you do, root is going to be able to see the files.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2009 11:03 AM
тАО07-16-2009 11:03 AM
Re: hidden files
Thanx for ur replies.Actually i wanted know how to unhide the hidden files.This thread was informative.Thnax once again.Points assigned..
regards
himacs