Skip to main content
IBM 
ShopSupportDownloads
IBM HomeProductsConsultingIndustriesNewsAbout IBM
IBM : developerWorks : Linux : Education - Tutorials
LPI certification 101 exam prep, Part 3
ZIPPDF (letter)PDF (A4)e-mail
Main menuSection menuFeedbackPreviousNext
3. The Linux permissions model
  


Numeric permission syntax page 12 of 23


Numeric permission syntax is especially useful when you need to specify all permissions for a file, such as in the following example:


$ chmod 0755 scriptfile.sh
$ ls -l scriptfile.sh 
-rwxr-xr-x    1 drobbins drobbins        0 Jan  9 17:44 scriptfile.sh

In this example, we used a mode of 0755, which expands to a complete permissions setting of "-rwxr-xr-x".


Main menuSection menuFeedbackPreviousNext
PrivacyLegalContact