MAGGI KARI .pdf
Document Details
Uploaded by InnocuousCosecant3410
University of Santo Tomas
Tags
Full Transcript
1. What is the command in MS DOS to change the file attribute(attribute: read only and hidden; filename; file.txt) Answer: ATTRIB +R +H file.txt 3. Always starts at your current location in the hierarchy Answer: relative path name 4. Android, MacOS, and LINUX are based on UNIX Answer: False 5. Wh...
1. What is the command in MS DOS to change the file attribute(attribute: read only and hidden; filename; file.txt) Answer: ATTRIB +R +H file.txt 3. Always starts at your current location in the hierarchy Answer: relative path name 4. Android, MacOS, and LINUX are based on UNIX Answer: False 5. What are the three basic types of files? Answer: special files, ordinary files, directories 6. If my present working directory is /home/erzhuo/aos/3itd (erzhuo@eugenezhuo:~/aos/BSIT$). What are the commands… Answer: cd /home/erzhuo, cd ~ 7. Are commands use to display data about all users who have logged into the system currently Answer: who and finger 8. Echo commands writes arguments to the terminal Answer: True 9. It takes care of the creation and deletion of files for users Answer: File System Handling 10. It is the core of the OS Answer: kernel 11. Which of the following commands in Linux is used to display information about files and directories contained within the current working directory Answer: ls 12. It is a command used to add text to an existing file. Answer: cat >> filename 13. It represents the route through the hierarchy that is traversed to reach the desired file or directory Answer: path name 14. Set/Display network information Answer: ipconfig 15. The syntax for file creation using the cat command. Answer: cat > filename 16. What are the main OS components Answer: kernel, shell, and file system 17. Which is NOT a unix service? Answer: user program 18. Program execution loads the user program in memory and runs it Answer: True 19. A linux command-line command allowing a user to change his/her own password is known as Answer: passwd 20. It is a shell type that supports command history. Line editing file name completion aliasing and job control Answer: POSIX SHELL 21. It is a multi-user operating system Answer: Unix 22. It is responsible for reading and/or writing data from I/O devices such as disks, tapes, printers, keyboards, etc. Answer: I/O Operations 23. It accepts commands from the user and analyses and interprets them. Answer: Shell 24. A component of a computer’s OS. this is a user interface for access to the operation Answer: all of the above 25. A command-line command in linux used for deleting files and directories known as Answer: rm 26. Specifies the entire file hierarchy Answer: absolute path name 27. To enter EOF (end of file) Answer: Ctrl + D 28. Are commands in Unix/Linux that is used to create a file Answer: pico, cat, vi 29. It refers to the file on the system that contains data, text, or program instructions. Answer: ordinary 30. What are the types of shells Answer: all of the above | Bourne shell, C shell, Korn shell, POSIX shell 31. Command used to concatenate a file (Source file: file1.txt and file2.txt; target filename: file3.txt) Answer: cat file1.txt file2.txt > file3.txt 32. One of the variations of Unix was called Linux Answer: True 33. Which of the linux command-line commands listed below is used for directory traversal Answer: cd 34. ls command in ubuntu is similar to pwd in MS DOS Answer: False 35. Dos command that clear the screen Answer: cls 36. It serves as a liaison between the consumers and the resources often coordinating the allocation of limited resources Answer: Operating System (OS) 37. A family of multitasking, multi user computer operating system that are characterized by a modular design Answer: UNIX