Linux Command "Chmod - ICP DAS USA ALX-9000 Series User Manual

Table of Contents

Advertisement

3.1.8. Linux Command "chmod"

chmod: change authority of file
chmod ??? file -> ??? means owner: group: all users
For example:
7 5 4 -> 111(read, write, execute) 101(read, write, execute) 100(read, write, execute)
The first number 7: owner can read and write and execute files
The second number 5: group can only read and execute files
The third number 4: all users can only read files
root@icpdas:/tmp#
root@icpdas:/tmp#
-rwxr-xr-- 1 root root 7 Apr 11 10:34 test.log
root@icpdas:/tmp#
ALX-9000 (Linux based PAC) User Manual
Copyright © 2024 ICP DAS Co., Ltd. All Rights Reserved.
chmod 754 test.log
ls -al test.log
version 1.0.0
E-mail: service@icpdas.com
Page: 51

Advertisement

Table of Contents
loading

This manual is also suitable for:

Alx-9191Alx-9391Alx-9791

Table of Contents