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?
1.To display attributes of a process along with the username, we use the command?
Answer:- grep command (global regular expression print)
(Brief Explanation:-
First, the ps command is responsible to display different process attributes. but as we see there are hundreds of processes running in the system, so for minimisation, we use grep command in which you can select and display particular process also for particular user.)
2.The FTP one-step command allows you to upload group of files using the wildcard meta character to the host server is?
Answer:- mput command
Brief Explanation:-
We use Asterisk (*) / (Shift + 8) as a wild character in FTP, mput command is responsible to upload group of files from one place to another. mput syntax is -
mput <file name>
If you've a bunch of files named as sheet1, sheet2, sheet3.... sheet 100, mput send all at a time with the following command
mput sheet*
3.The command .........._ is designed to search, extract and manipulate patterns in lines of text broken into fields "treats text line as database fields?
Answer:- grep command (global regular expression print)
(Brief Explanation:-
In many ways, we use grep commands in linux. For example, We have a file name "Sheet1" and have a following details in it -
constitutional
congregational
containerboard
conspiratorial
sincere
database
strategy
suppose, we want to analyze words that start with con in file sheet1, so grep command basically will help you in this case -
grep "con" sheet1
In above command, grep would loop through every line of the file "sheet1" and print out every line that contains the word 'con':
constitutional
congregational
containerboard
conspiratorial
linux operating system 1.To display attributes of a process along with the username, we use the...
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...