WorksheetsQuiz_03
Total questions: 15
Worksheet time: 8mins
Ls is used for
Change directory
Format listing with hidden files
Directory listing
Ls -al is used for
Create or update file
Change directory
Formatted listing with hidden files
Pwd is used for
Create or update file
Show current directory
delete files
Cd dir is used for
Change directory to dir
Rename file
Make directory
Mkdir dir is used for
Change directory to dir
Create directory dir
create file
Rm file is used for
Move File
Delete File
Update file
Rm -r dir is used for
Update directory
Delete File
Delete directory dir
cp file1 file2 is used for
Move file1 to file2
Delete file1 to file2
Copy file1 to file2
cp -r dir1 dir2 is used for
Copy file 1 to file 2
Delete file1 to file2
Copy dir1 to dir 2, create dir 2 if it doesn't exist
mv file1 file2 is used for
Copy file 1 to file 2
Rename or move file 1 to file 2
Delete file 1 and file 2
more file in linux is used for
Show top 10 lines
Show bottom 10 lines
Show contents of files
head file in linux is used for
Show top 10 lines
Show bottom 10 lines
Show contents of files
(Linux) What would the permissions be after running command "chmod 754 file"?
-r-x r-x r--
-rwx r-x r--
-rwx rwx rw-
-rwx r-- r--
Which command will set the permission of a file to read only for all users?
Chmod 111
Chmod 222
Chmod 777
Chmod 444
Which command will copy a file?
mv orig.txt copy.txt
Cd orig.txt copy.txt
Cp orig.txt copy.txt
Rm orig.txt copy.txt
