command
Less than 1 minute
Set input style
vim
set -o viemacs
set -o emacsChange User Group
sudo chown -R $USER:$GROUP .Note
-R: Recursively change the owner and group of all files in the current directory.
Change Permissions
a directory must have execute permission to list its contents.
use numbers
chmod 755 fileNote
- 7: rwx
- 6: rw
- 5: rx
- 4: r
- 3: wx
- 2: w
- 1: x
- 0: None
use symbols
chmod u+x fileNote
- u: User
- g: Group
- o: Others
- a: All
- +: Add
- -: Remove
- x: Execute
- r: Read
- w: Write