Contents contributed and discussions participated by Herb Tucker
The Go Programming Language - 0 views
CSS: centering things - 0 views
site news - 0 views
Tech-Recipes | Tech-Recipes - 0 views
Network Tools: DNS,IP,Email - 0 views
Unix Stat Command: How To Identify File Attributes - 0 views
-
Question: How do I find out all the available file attributes. i.e I would like to know more about a file or directory than what the ls -l command displays
-
Answer: Everything in Unix is treated as files. This includes devices, directories and sockets — all of these are files. Stat command displays file or filesystem status as explained in this article.
-
You can use the same command to display the information about a directory as shown below.
- ...1 more annotation...
Linux Knowledge Base and Tutorial - 0 views
-
The UMASK value masks out the bits. The permissions that each position in the UMASK masks out are the same as the file permissions themselves. So, the left-most position masks out the owner permission, the middle position the group, and the right most masks out all others. If we have UMASK=007, the permissions for owner and group are not touched. However, for others, we have the value 7, which is obtained by setting all bits. Because this is a mask, all bits are unset. (The way I remember this is that the bits are inverted. Where it is set in the UMASK, it will be unset in the permissions, and vice versa.)
-
The problem many people have is that the umask command does not force permissions, but rather limits them
-
Therefore, setting the UMASK=007 does not force creation of executable programs, unless the program creating the file does itself).
- ...6 more annotations...
PHP: Expressions - Manual - 0 views
-
(scalar values are values that you can't 'break' into smaller pieces, unlike arrays, for instance
-
Expressions are the most important building stones of PHP. In PHP, almost anything you write is an expression
-
The simplest yet most accurate way to define an expression is "anything that has a value"
- ...16 more annotations...