Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet thread from alt.ascii-art, started 24 Jan 1995.
 _   _                     _        _             _     _           
| | | |___  ___ _ __   ___| |_     / \   _ __ ___| |__ (_)_   _____ 
| | | / __|/ _ \ '_ \ / _ \ __|   / _ \ | '__/ __| '_ \| \ \ / / _ \
| |_| \__ \  __/ | | |  __/ |_   / ___ \| | | (__| | | | |\ V /  __/
 \___/|___/\___|_| |_|\___|\__| /_/   \_\_|  \___|_| |_|_| \_/ \___|
How to create hidden file?

How to create hidden file?

alt.ascii-art · 8 messages · 24 Jan 1995 - 11 Feb 1995
Big B of CS <ckc...@cs.cuhk.hk> ASCII art 24 Jan 1995 11:03 · permalink · report
	How to create hidden file in Unix?

--
			**************************************
			* MERRY CHRISTMAS AND HAPPY NEW YEAR *
			**************************************

                        Big-B-Big-B-Big-B-Big-B-Big-B-Big-B-Bi      
                        i   The Chinese University of H.K.   g      
                        g  Name:Chung Chun Kiu               |       
                        | Email:ckc...@cs.cuhk.hk           B          
                        B       ckc...@cuhk.hk              |      
                        |       s93...@mailserv.csc.cuhk.hk B       
                        B Major:Computer Science             i      
                        i  Year:2/3                          g      
                        Big-B-Big-B-Big-B-Big-B-Big-B-Big-B-Bi
      

In article <D2wpD6.8EA@eng_ser1.erg.cuhk.hk>, ckc...@cs.cuhk.hk (Big B of CS) writes:
|> 	How to create hidden file in Unix?
|> 
|> --
|> [sig deleted]

  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:
      chmod 700 <filename>
will keep anyone else from being able to read the file, or write to the file, and
typing:
      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".

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

Big B of CS (ckc...@cs.cuhk.hk) wrote:
: 	How to create hidden file in Unix?

Unix% chmod -r filename.whatever


Hope this helps,
David Granger
(wil...@magi.com)

Doesn't seem like the appropriate place to discuss this, 
but here's my contribution...

How to create hidden file in unix?

say you have a file called foo.1

to make this file 'hidden' simple type 

rm foo.1

:)

for all files in a directory type rm *

:) :) :)



--
Can't post this as it stands, would feel too guilty

Seriously though folks DON'T TRY THIS AT HOME...AT ALL EVEN!

Mark Ransom <mar...@ion.le.ac.uk> wrote:
|Doesn't seem like the appropriate place to discuss this,
|but here's my contribution...
|
|How to create hidden file in unix?
|
|say you have a file called foo.1
|
|to make this file 'hidden' simple type
|
|rm foo.1
|
|:)
|
|for all files in a directory type rm *
|
|:) :) :)
|
Why tell the guy that :( rm will erase your file(s)
To make a file "hidden" place a "." in the front of the file name .. ie: .file.abc

-Bob

        ===================== ach...@interaccess.com ====================

Yin Chu <chu...@soda.CSUA.Berkeley.EDU> ASCII art 8 Feb 1995 23:16 · permalink · report
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 /   /   \   \    / /

how 'bout creating hidden directories???

--

[1;5m[34m
        .___.
       /     \
      | O _ O |
      /  \_/  \
    .' /     \ `.	
   / _|       |_ \	dch...@ic.sunysb.edu
  (_/ |       | \_)    	
      \       /	       "Nothing makes a person more
     __\_>-<_/__	productive than the last minute!"
     ~;/     \;~
[0m

Friendly Human Person <rob...@xmission> ASCII art 11 Feb 1995 21:20 · permalink · report
Jeremy Lakey (jer...@uvsg.com) wrote:
: In article <3hefcq$dv...@adam.cc.sunysb.edu>, dch...@engws10.ic.sunysb.edu (K'ung Fu Tzu) says:
: >
: >how 'bout creating hidden directories???
: >
: >--
: >
: under what OS?  In dos, windows?  or Unix?
With UNIX, directories and files are the same, ie mkdir .a.hidden.dir 
will be invisible

: Jeremy

--
\\\\\        \\            \\\\\         \\        
 \\  \\       \\            \\  \\        \\       The way to fight a woman
  \\  \\       \\            \\  \\        \\       is with your hat.  Grab
   \\\\\  \\\\  \\\\\   \\\\  \\\\\   \\\\  \\\\\    it and run.
    \\\\  \\  \\ \\  \\ \\  \\ \\  \\ \\  \\ \\  \\       -- John Barrymore
     \\ \\ \\  \\ \\  \\ \\  \\ \\  \\ \\  \\ \\  \\
      \\ \\  \\\\  \\\\\   \\\\  \\\\\   \\\\  \\\\\    

About this thread. These messages were posted publicly to the newsgroup alt.ascii-art in 1995 and are 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 one of the authors? 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