LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices



Reply
 
Search this Thread
Old 05-11-2006, 08:02 AM   #1
RJDavison
Member
 
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, 11:24 AM   #2
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 41
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, 12:13 PM   #3
RJDavison
Member
 
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, 05:15 PM   #4
halo14
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?
 
  


Reply


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 12:02 PM
Hidden Files coold8 Linux - General 5 04-28-2005 12:26 AM
hidden files Jeebizz Slackware 4 04-22-2005 08:18 PM
home directory files gone, hidden files remain Grasshopper Linux - Security 12 04-10-2005 09:23 PM
Hidden Files Alien18 Linux - Newbie 4 08-12-2004 10:38 PM


All times are GMT -5. The time now is 01:06 AM.

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