Question

time sensative linux Question 73 pts What is the name given to a process not associated...

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 of a line of text using a regular expression?

1) Precede the string with a /
2) \
3) ^
4) $

Flag this Question

Question 103 pts

Using wildcard metacharacters, how can you indicate a character that is NOT a or b or c or d?

1) [^abcd]
2) not [a-d]
3) [!a-d]
4) !a-d

Flag this Question

Question 115 pts

Write the command to check if the file file1 contains any digits in the range of 0 to 5.

Flag this Question

Question 125 pts

Write the command to display the number of lines that contain the word linux in file file1.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Please find the answers below :

Question 7)

Ans : daemon process

A daemon process is a process which runs long in background, which are not interactive and have no controlling terminal. The rest of the processes child, parent and user are interactive and are also associated with a terminal.

Question 8)
Ans : Myfile.
Myfile* : it will search for all the occurance of files with names starting Myfile, and rest of characters can be anything, thus Myfiles23 will also be listed.

Myfile$ : it will search for all the occurance of files with names ending in Myfile

Myfile. : it will search for all the occurance of files with names starting Myfile, and next it should contain only one character, thus Myfiles23 will not be listed.

Myfile1 | Myfile2 : it will search for all the occurance of files with names Myfile1 and Myfile2, thus Myfiles and Myfiles23 will not be listed.

Question 9)

Ans : ^

^ symbol marks the begininng of a regex search line and $ symbol marks the end of line

Question 10)
Ans : [!a-d] : to search for a charcter in a range we use [a-d] which search for charcters a,b,c and d. But to search charecters except a,b,c and d we use a not symbol infornt to negate the previous search ie, [!a-d]
Add a comment
Know the answer?
Add Answer to:
time sensative linux Question 73 pts What is the name given to a process not associated...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • linux operating system 1.To display attributes of a process along with the username, we use the...

    linux operating system 1.To display attributes of a process along with the username, we use the command? 2.The FTP one-step command allows you to upload group of files using the wildcard meta character to the host server is? 3.The command .........._ is  designed to search, extract and manipulate patterns in lines of text broken into fields "treats text line as database fields?

  • 19. UNIX/Linux normally include two editors: vi and (choose the single best answer). 20. You can...

    19. UNIX/Linux normally include two editors: vi and (choose the single best answer). 20. You can use thecommand to create empty a create b. make c touch d mu 21. Which command can be used to leave vi temporarily to access the command line? 22 If you execute the contents of filel are sorted and the results are stored in file2. a sort file1 -ofile2 b. sort file1 >file2 c sort filel -d file2 d sort filel filez field or...

  • (In Linux) 1. Create a file to write to from your script and save it as...

    (In Linux) 1. Create a file to write to from your script and save it as “.txt”. 2. Write the following information to the file that you created in Step 1: Today's date Your full name Your student ID The name of your course What directory you are in File permissions of the file that you created that allow everyone to read, write, and execute The long list of files in your current directory, providing all items and their process...

  • Answer all the Question 1. When working with pathnames in Linux, explain the difference between using...

    Answer all the Question 1. When working with pathnames in Linux, explain the difference between using two dots and one dot in the pathname. 2.Describe one benefit of the Filesystem Hierarchy Standard (FHS). 3. Describe two ways to start the vim editor. 4.Define the Linux modular architecture and discuss its advantages. 5. Provide a brief history of the vi command-line text editor.

  • Not yet answered Marked out of 1.00 Flag question Question text What is the value of...

    Not yet answered Marked out of 1.00 Flag question Question text What is the value of the following Python expression? not(True and False) Select one: True False Question 2 Not yet answered Marked out of 1.00 Flag question Question text Consider the following Python program. fin = open('words.txt') for line in fin: word = line.strip() print(word) What does the program loop over? Select one: a. Lines in a file b. Lines in a list c. Words in a dictionary d....

  • do numbers 4-8 4. Given any directory, use the Is command to display: • all files...

    do numbers 4-8 4. Given any directory, use the Is command to display: • all files and sub-directories starting with the letter "D" (note do not list anything in any sub-directory) • its immediate sub-directories (sub-directories only, and no other ordinary files) its immediate hidden sub-directories only - take a screenshot (#3-3) that clearly shows the command and the result. 5. Assume that the following files are in the working directory: $ ls intro notesb ref2 section 1 section3 section4b...

  • with SCREENSHOTS PLEASE Linux+ Guide to Linux Certification Project 9-4 In this hands-on project, you view...

    with SCREENSHOTS PLEASE Linux+ Guide to Linux Certification Project 9-4 In this hands-on project, you view and manage processes using the top command-line utility. 1. On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of LNXrocks!. 2. At the command prompt, type top and press Enter. 3. From the output on the terminal screen, record the following information: a....

  • Question 11 pts Fill in the blank. Two functions are defined main.c and MyAge.c   // FILE...

    Question 11 pts Fill in the blank. Two functions are defined main.c and MyAge.c   // FILE main.c main ( ) { _______ int age ; printf ( " the value of age is %d \n", age ) ; } // FILE MyAge.c int age = 10; int MyAge ( ) { } Group of answer choices static external internal extern Flag this Question Question 21 pts Fill in the blank. Two functions are defined main.c and MyAge.c   The below program...

  • QUESTION 1 What will be the output of following Unix command: find / -name ‘*’ A....

    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...

  • Unix/Linux The purpose of this lab is to practice the commands to manage and organize files...

    Unix/Linux The purpose of this lab is to practice the commands to manage and organize files and directories: How would one go about this? Thanks. Task 1: Preliminaries: 1) If you have not already done so, create a directory called bin under your HOME directory. 2) If you have not already made a copy (using ftp) of the file called famous.dat from the Assignment#1, do that now. 3) Make bin the active/working directory. Task 2: Perform all of the following...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT