Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 05-11-2006, 07:02 AM   #1
Registered: May 2004
Location: London UK
Distribution: Fedora Core 2
Posts: 35

Rep: Reputation: 15
FreeBSD 6.1 Showing Hidden Files

My new install of FreeBSD 6.1 is showing hidden files when using the ls -l command as well as the normal files.

How do I change it so that the hidden files stay hidden unless the ls -a command is used ?
Old 05-11-2006, 10:24 AM   #2
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
Does typing "unalias ls" at the prompt fix it? If so, it's an alias probably coming from a skeleton rc file for your shell, installed when you created your user. Edit your shell's rc file (.profile or something of that nature) and remove any ls aliases.
Old 05-11-2006, 11:13 AM   #3
Registered: May 2004
Location: London UK
Distribution: Fedora Core 2
Posts: 35

Original Poster
Rep: Reputation: 15
the unalias ls command seems to do nothing. I've looked in the .profile file and there are no aliases listed. Any more suggestions ??
Old 05-11-2006, 04:15 PM   #4
Senior Member
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
you must be doing it as root... ls as root user will show hidden files.. if you do it as a normal user, it should not. Is this what is happening?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
freeBSD install - fdisk not showing partitions? a2ps *BSD 2 06-26-2005 11:02 AM
Hidden Files coold8 Linux - General 5 04-27-2005 11:26 PM
hidden files Jeebizz Slackware 4 04-22-2005 07:18 PM
home directory files gone, hidden files remain Grasshopper Linux - Security 12 04-10-2005 08:23 PM
Hidden Files Alien18 Linux - Newbie 4 08-12-2004 09:38 PM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 12:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration