Flashcards
Linux LP1 Chapter 5
Flashcards do conjunto (38)
- 1What does the ls command do?list files
- 2What does the "." character represent?current directory
- 3What does the "." character mean at the beginning of a file or directoryfile hidden
- 4What does the d mean: drwxr-xr-x 1 root root 38 Jul 23 18:43 aptFile Type
- 5What is File type d?directory
- 6What is File type -?regular file
- 7What is File type l?symbolic link
- 8What is File type s?socket
- 9What is File type p?pipe
- 10What is File type b?block file
- 11What is File type c?character file
- 12The rwx is the permission to? -rwxr-xr--Owner Permissions
- 13The r-x is the permission to? -rwxr-xr--Group Permissions
- 14The r-- is the permission to? -rwxr-xr--Everyone Else’s Permissions
- 15What does the 1 mean? drwxr-xr-x 1Hard link Count, one directory name that links to this file
- 16What does the syslog mean? -rw-r----- 1 syslogUser Owner of the file
- 17What does the utmp represent? -rw-rw-r-- 1 root utmpGroup Owner
- 18What does the 1087150 mean for the file? -rw-r----- 1 syslog adm 1087150File Size in bytes
- 19Whatt does the Jul 17 03:36 mean? drwxr-xr-x 1 root root 32 Jul 17 03:36Timestamp, when file's contents were last modified
- 20What does the bootstrap.log mean? -rw-r--r-- 1 root root 47816 Jul 17 03:36 bootstrap.logname of the file or directory
- 21How is the ls output sorted as?alphabetically by file name
- 22Why is it good to use the file command before accessing a file?To make sure that it has text
- 23What update can the touch command do apart from creating an empty file?update the modification timestamp
- 24How many timestamps does a file have?3
- 25What is the command to see all 3 timestamps on a file?stat command
- 26What kinds of permissions do you need to copy a file?execute and read permissions on the file
(r-x) - 27What kinds of permissions do you need to paste a file in a directory?write and execute permission on the directory (-wx)
- 28What does the "~" represent?home directory
- 29What kind of permissions does your home directory always have?write and execute permission(-wx)
- 30What is the use for the mv command?move a file from one pathname to another
- 31What happens to the original file when you use mv command?Original file gets deleted
- 32When moving a file, what kind of permissions do you need on the origin and destination?write and execute permissions
(-wx) - 33What is the use for the rm command?delete files and directories
- 34What kind of permissions do you need to delete a file withing a directory?write and execute permission on the directory
- 35What is the name of the special permission that /tmp and /var/tmp directories have?sticky bitset
- 36What type of files can the root user delete?any file in any directory
- 37What does the mkdir do?create a directory
- 38What is the use for the rmdir?remove empty directories
Informações
- Descrição
- O usuário eliminou as informações de disciplina FlashCards sobre Linux LP1 Chapter 5, criado por Usuário eliminado em 11-05-2018.
- Criado por
- Usuário eliminado · mai 2018
- Atualizado
- 11 mai 2018
- Visualizações
- 16
- Tags
- Histórico
-
- Criado por Koz . · 11 mai 2018
- Copiado por Koz . · 11 mai 2018
- Avaliação