Linux has a _______________ file system with root at the top.
1 circular
2 hierachical
3 inverted pyramid
4 flat
The directory on a Linux filesystem that contains files representing pseudo and physical devices is:
/tmp
/var
/dev
/bin
1.Answer : Hierachical
Yes, Linux has hierachal file system with levels in it. The first level will have root. The top will have root then it contains some other folders like /bin,/boot,/ect and / home etc. And these folders again contains some other folders . It is a strucure which has some levels in it . So it is called as hierachal file system. Each directory inside the root folder will have a specific activity.
2.Answer: /dev
/dev stands for devices which are pseudo and physical.
Sorry , i have overlooked the question on a hurry. Thanks.
Linux has a _______________ file system with root at the top. 1 circular 2 hierachical 3...
1. This symbol represents the top of the UNIX/Linux file system: 2. This directory is where the configuration files are stored: 3. This directory is where each user on the system has their directory stored: 4. This directory is the home directory for the system administrator: 5. This directory is where the binaries/executable that are needed to start the system and perform other essential system tasks are stored:
Login to Suse Linux as root. Complete the task working as the root user. 1. What is your current directory. What did you enter at the command prompt to determine your current working directory? 2. Change directories if needed to find your foods (or food) file. Use vi to make the file contain 10 food items. Save your file and quit. Use the cat command, and option, and the argument food to display the food file with numbered lines. Use...
LINUX: Question 1) There has been suspicious activity on the system. In order to preserve log information, it will be necessary to archive the current files in /var/logending with the ".log" extension. The files are to be saved to a file named log.tar, stored in the directory, ~/archive. It has also been requested that the files that were archived be saved to a directory, ~/backup. Objectives - Create an archive named log.tar that is stored in the archive directory located in the...
Please answer the following questions because I am not understanding it Description Investigate UNIX/Linux Files Systems by answering the questions below Requirements Save the recorded information in an ASCII file named “prog2.txt”. The file, “prog2.txt”, must be located in the directory: $HOME/itec400/homework Make sure the permissions on “prog2.txt” are set to 705. Solutions to problems below may require research on the web Record the questions below and the answers in “prog2.txt”. 1. What is the purpose...
In LINUX Q1 A) Create a user with name “user1” from root directory. B) Change “user1” shell to “/bin/bash” from root directory. C) Delete the user “user1” from root directory. D) Set a password for “user2” from local user directory. E) Add “user2” to group “java”. Q2: Write a menu script that has 3 option: a) Option 1: list all file in current directory. b) Option 2: ask user enter a number n, and print 1 to n to screen...
2. At the command prompt, type ls –l /dev/log and press Enter. What is the file type? Which daemon on Ubuntu Server Linux uses this file and what is its purpose? 3. At the command prompt, type less /etc/rsyslog.conf and press Enter to view the configuration file for the System Log Daemon. Are there any entries that specify facilities, priorities, or log file locations? What does the last line of the file specify? Press q when finished to quit the...
Using linux
Write one-line New Tab ands that determine and print the following desired output: 1. The total word count in files file1.txt, file2.txt, and file3.txt combined (assume the three files exist in the current directory) 2. How many user accounts are not allowed to log in to the system. You need to calculate the number of users in file /etc/passwd that include /nologin on their line. 3. The name of the 6 largest files in/usr/bin , while suppressing any...
2. At the command prompt, type ls –l /dev/log and press Enter. What is the file type? Which daemon on Ubuntu Server Linux uses this file and what is its purpose? 3. At the command prompt, type less /etc/rsyslog.conf and press Enter to view the configuration file for the System Log Daemon. Are there any entries that specify facilities, priorities, or log file locations? What does the last line of the file specify? Press q when finished to quit the...
Revision Question 3 on Linux. Please explain the shell script commands in the context of post execution. You have just logged in and have a directory called "novel" in your home directory containing the following files: chapter1.docx chapter2.docx chapter3.docx draft.pdf save where "save" is itself a directory and contains the files Attributes.txt draft.pdf.1 draft.pdf.2 draft.pdf.3 indexA.txt indexB.txt list1.txt list2.txt a) Describe the results you would expect when executing the following shell commands: i) ls novel/save/*A* ii) ls novel/*r[23]* iii) rmdir...
Homework 13:
In a file system using metadata journaling for
crash consistency, what would the sequence of write operations be
to disk to create “file100” in the directory structure in Homework
11?
How would it differ from that of data journaling? Using the same
format as for Homework 12, identify what data or metadata is
written and where it is being written.
Format of HW12 Journal Write: Transaction Begin(TxB) record,
file X data
1.
2.
3.
4.
HW11 for reference...