Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2000 08:30:50 -0700 (PDT)
From:      Linh Pham <lplist@q.closedsrc.org>
To:        "DINKEY,GENE (HP-Loveland,ex1)" <gene_dinkey@hp.com>
Cc:        "'mhjoshi@att.net'" <mhjoshi@att.net>, questions@FreeBSD.ORG
Subject:   RE: Unix questions
Message-ID:  <Pine.BSF.4.21.0007170820211.8472-100000@q.closedsrc.org>
In-Reply-To: <F341E03C8ED6D311805E00902761278C5313F8@xfc04.fc.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

/dev/zero returns zero, but /dev/null returns the char \0 (the null char)

// Linh Pham
//
// Proud supporter of FreeBSD and OpenBSD
// FreeBSD - http://www.freebsd.org
// OpenBSD - http://www.openbsd.org

/*	"Oregon, n.:
		Eighty billion gallons of water
		with no place to go on
		Saturday night."
*/


On Mon, 17 Jul 2000, DINKEY,GENE (HP-Loveland,ex1) wrote:

> 
> 
> >-----Original Message-----
> >From: mhjoshi@att.net [mailto:mhjoshi@att.net]
> >Sent: Monday, July 17, 2000 8:57 AM
> >To: questions@FreeBSD.org
> >Subject: Unix questions
> >
> >2. What directory is known as "bin bucket in the sky."
> 
> I believe you would be refering to /dev/null - anything put in there
> dissapears into computer limbo and anything that reads from /dev/null is
> always zero
> 
> >5. If unmask is 022, the the following commands are 
> >executed.
> >mkdir cat
> >cat refer.txt > newpermiss
> >what permissions will cat and newpremiss will have?
> 
> The files will have mode 755 on creation.
> 
> full access -->  777
> minus umask -->  022
> ---------------------
> permision   -->  755
> 
> Someone please correct me if I'm wrong but this is it to the best of my
> understanding
> 
> Gene Dinkey
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007170820211.8472-100000>