Octal notation


Subject: Octal notation
From: Greg Madden (pabi@gci.net)
Date: Sun Nov 11 2001 - 21:39:27 AKST


Here is a nice reference originally gleaned from a Debian list, unknown
author.

Computing: "chmod 754" = "rwxr-xr--" (Please excuse the crudeness.)

 User | Group | Other
------|-------|-------
r w x | r - x | r - -
4 2 1 | 4 2 1 | 4 2 1 <-- 3-bit Octal notation (binary representation)
------|-------|-------
\ | / | \ | / | \ | / <-- Add the octal bits
4+2+1 | 4+1 | 4
  7 | 5 | 4 <-- 0-7 Octal notation

-- 
Greg Madden
Precision Air Balance, Inc.
email:pabi@gci.net
Phone:(907)276-0461 Fax:(907)258-0461



This archive was generated by hypermail 2a23 : Sun Nov 11 2001 - 21:40:08 AKST