14)
c) ext2 and ext3
15)
a) inode
16)
b) ln command with the -s option
17)
c) stat command
18)
d) gzip and gunzip
19)
a) access mode
20)
b) [^abc]
21)
b) Reunion01
22)
b) grep *.tif 'frame'
23)
b) -f
24)
b) number of lines, words and characters
25)
a) sort report.doc
26)
c)patch
27)
b) -3
used Linss file systems d FAT nd NTFS NTFS and est3 h ReiserFS and ext3 15....
QUESTION 1 What will be the output of following Unix command: find / -name ‘*’ A. List all files and directories recursively starting from / B. List a file names * in / C. List all files in / directory D. List all files and directories in / directory QUESTION 2 Which command is used to extract a column/field from a text file / input. A. paste B. get C. cut D. tar QUESTION 3 Which command creates an empty...
A filename con comprise multiple embedded dots (e.g., a.b.c.d.e). True False A device file is not really a stream of characters and doesn't contain anything at all. True False Relative pathnames begin with the root directory. True False Running the ls -a command uniquely identifies directories and binary executables. True False What is the result of running mkdir -p share/man/cat1 from the command line? a. It creates the directory share. b. It creates the directory share/man. c. It creates the...
Unix HOMEWORK HELP!! Simple Multiple Choice. I have answered these questions, but I want to ask online, to get second feedback and make sure I am on the right page What is the diffference bettween a willd card and a regular expression? a.) A willd carrd is the * chharacter, butt a rregular excpression caan usse morre symbols. b.) Wild cards are pattterns expandded by the shhell. A reggular expression is a pattern used by commands, internally. c.) There is...
LINUX QUESTIONS (dont have to display output, I will be running these commands myself to check the output) Display the command(s) used to do the following: create an empty file called history by using just a redirection operator. Verify and show. Show/verify all results (i.e., all commands and their corresponding outputs). Wait 1 minute or more and then display the command(s) used to do the following: change the timestamp on the history file you just created. Verify/display the change. Show/verify...
The most important improvement in 4BSD, a UNIX version developed by UC Berkley, is Select one: a. Signal handling in this version is more reliable. b. A new file system that makes it faster. c. Introduction of networking. d. Introduction of virtual memory and paging. In order to find certain pattern in different files, which of the command(s) shall be used in Linux? Select one: a. cat b. od c. cut d. grep Compared with a GUI, the so called...
A. File I/O using C library functions File I/O in C is achieved using a file pointer to access or modify files. Processing files in C is a four-step process: o Declare a file pointer. o Open the desired file using the pointer. o Read from or write to the file and finally, o Close the file. FILE is a structure defined in <stdio.h>. Files can be opened using the fopen() function. This function takes two arguments, the filename and...
To insure that file output is written to the disk you need to execute what method? a. commit() b. write() c. close() d. complete() The following is called the ________ of a function. def myFunction(x,y) : a. header b. footer c. sentinel d. index True or False: A commonly used program that uses regular expressions is grep. True or False: In Python exception handling provides a mechanism for passing control from the point of the error detection to a handler...
1. Explain the difference between the /etc/profile and the ~/.bash_profile file. Which one is executed first? 2. Edit your .bash_profile file as follows: 1. Welcome the user 2. Add your home directory to the path if it is not there 3. Set erase to the Backspace key using stty. 4. Type source .bash_profile. What is the function of the source command? 3. What is the default primary prompt? 1. Change the prompt to include the time of day and your...
time sensative linux Question 73 pts What is the name given to a process not associated with a terminal? 1) child process 2) parent process 3) user process 4) daemon process Flag this Question Question 83 pts Which regular expression would match Myfile1, Myfile2, and Mayflies but would not match Myfiles23? 1) Myfile* 2) Myfile$ 3) Myfile. 4) Myfile1 | Myfile2 Flag this Question Question 93 pts How can you specify a text pattern that must be at the beginning...
Write a program using python that reads from values from a text file and plots them using matplotlib. The input data for each graph is on three lines of the input textfile. The first line contains the x-coordiates of the points of the graph, and the second line contains the y-coordinates of the points of the graph that correspond, in the same order, to the x-coordinates on the first line. The third line in each group of three lines may...