Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1.What command would you use to read about the terminal driver, tty ( not the tt

ID: 3570067 • Letter: 1

Question

1.What command would you use to read about the terminal driver, tty ( not the tty command)? How would you read a local tty man page that was kept in / usr/ local/ share/ man?

2. Why is it a good idea to put some partitions ( such as / var, / home, and swap) on a separate drive from other data files and programs? What about / tmp? Give specific reasons for each of the filesystems listed.

3. Give commands to accomplish the following tasks. a) Set the permissions on the file README to read/ write for the owner and read for everyone else. b) Turn on a file

Explanation / Answer

1)

The form man SECTION TITLE gets you a man page from a particular section. Thus, man tty gets you the man page for the tty command, and man 4 tty gets you the man page for the contorolling terminal driver.

manpath sync/usr/local/share/man

2)

Swap is always (except when it is a file) on a seperate partition, it's layout is also completely different then other (*nix) partitions.

Reasons for putting certain (parts of) directories on a seperate partition:
- Speed (partitions are also on different disks/controllers),
- Filling up directories. If a user fills /home/user and everything is on one partitions: System will crash, [BTW: most modern machines also implement other features to overcome this].
- Better inside about which partitions (directories) are heavily used and might need a bigger/extra partition/disk.

/tmp : Temporary files

Purpose

The /tmp directory must be made available for programs that require temporary files.

Programs must not assume that any files or directories in /tmp are preserved between invocations of the program.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote