Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 8 Feb 1995.
Re: How to create hidden file?

Re: How to create hidden file?

In article <1995Jan25.043354.1620@rhodes>,
James Alexander <ale...@mcp.mathcs.rhodes.edu> wrote:
>  Finally! a question on this newsgroup that *I* can respond to.
>  If you make the filename start with a period (or dot) ie: ".sig" then the normal
>ls command will ignore it, making it "hidden".  Additionally, typing:
TRUE, files that starts with a "." can not be listed with a normal ls command.
To list those files, you need to use the -a options.

Normally, those files serves special purposes, like .signature is to be 
attached to your mails and news postings, .login is to be executed when
you login, whereas .cshrc maintains the list of newgroups that you have
un/subscribe and what articles you have read.  Normally, you wouldn't create
a file that starts with a "."  It's the machine's way of saying: hey, these
are my files, unless you know what you are doing, don't mess with them.


>      chmod 700 <filename>
>will keep anyone else from being able to read the file, or write to the file, and
>typing:

the chmod function allows you to assign permissions to different catergories
of users.  the 7 means that you are giving yourself read, write, and execute
permission.  The first 0 means that other users in your group cannot read,
write, or execute (add 4 to that number to allow reading permission, 2 for
writing and 1 for execution), whereas the last digit coresponses to all
users....


>      chmod 700 <directoryname>
>will keep anyone else from being able to even go to or list the directory, making
>all files in that directory "hidden".

Not really hidden, just "protected."

>
>--
>(I have no sig, but I am giving away free UNIX advice.)

One last thing, always make sure that your home directory is readable
and executable to all users so others can see you .plan

-- 
      ____
    () .. ()         Yin Chu              ________
     \__,_/  chu...@cory.EECS.Berkeley.EDU /   ___  \       /\
      \ ^ \ chu...@soda.csua.Berkeley.EDU /   /   \   \    / /

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,130e066b54bf9ebb
X-Google-Attributes: gidf996b,public
X-Google-ArrivalTime: 1995-02-08 15:16:57 PST
Path: nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!comma.rhein.de!oink.rhein.de!bnc.net!news.maz.net!pipex!peernews.demon.co.uk!news.sprintlink.net!howland.reston.ans.net!agate!soda.CSUA.Berkeley.EDU!chuy
From: chu...@soda.CSUA.Berkeley.EDU (Yin Chu)
Newsgroups: alt.ascii-art
Subject: Re: How to create hidden file?
Date: 8 Feb 1995 23:16:57 GMT
Organization: Computer Science Undergraduate Association, UC Berkeley
Lines: 46
Message-ID: <3hbjd9$6e...@agate.berkeley.edu>
References: <D2wpD6.8EA@eng_ser1.erg.cuhk.hk> <1995Jan25.043354.1620@rhodes>
NNTP-Posting-Host: soda.csua.berkeley.edu

Related ASCII art in the Gallery

Explore these categories from our collection of 11,000+ artworks:

About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1995 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post