
206 Important Linux features
DONE
INDEX
INDEX
13.1.2 cd
cd: "change directory"
• cd → change to your home directory
• cd dira → change to directory dira
• cd /u/data/guest/nmr → change to directory /u/data/guest/nmr
• cd dataseta → change to directory /u/data/guest/nmr/dataseta
• cd .. → change to directory /u/data/guest/nmr
• cd ../../usera/nmr → change to directory /u/data/usera/nmr
13.1.3 ls
ls: list the contents of a directory
• ls → list files and subdirectories in current directory
• ls -l → list complete file information
• ls -al → also list files starting with ’.’
• ls -Rl → also list the contents of all subdirectories
• ls -lt or ls -lrt → sort by time of last modification
13.1.4 chmod
chmod: change the permissions of a file or directory
(To understand the permissions and type of access please refer to chapter 14.1)
1. using the character representation: chmod [ugo][+-][rwx] filename
• chmod a+r fila
make fila readable for all users
-r--r--r-- user group 102 Apr 10 12.20 fila
• chmod a+w fila
Comentários a estes Manuais