Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / What is the output from the following: $echo "Users logged in:" $who $echo $echo "No

What is the output from the following: $echo "Users logged in:" $who $echo $echo "No

Computer Science

What is the output from the following: $echo "Users logged in:" $who $echo $echo "No.:" $who | wc -l

2.Write  command that will find if the user test is logged in.

3. By using grep and cut, write all the names of the folders in the current folder.

4. Sort the names of the users that are on-line by the time of their login.

5. List all the files in the current directory that has rwx priviledges for the user.

6. Find out if there is a user student on your system.

7. Create  file text.txt that has the following content: Redirecting is one of the most important features of Linux shells. The files in linux usually have no structure, so many tasks that should be done with files (sorting, filtering, appending etc.) can be accomplished with redirecting and combining shell commands. Those tasks usually ask for special programming platforms or writing special purpose applications. That is why the Linux command shell is very powerful. What will be the output from the command? $grep files text.txt

8. Show all lines from the file text.txt that end with the word with.

9. Create the file student-grades.txt with the following conctent: Students-Points-Grades Ted-98-A Barney-57-E Lily-78-C Robin-68-D Marshal-91-A Display the names and the grades of the students that have grade A.

10. Create file nano.txt with the following text: DescriptionGNU nano is a text editor for Unix-like computing systems or operating environments using a command line interface. It emulates the Pico text editor, part of the Pine email client, and also provides additional functionality. Unlike Pico, nano is licensed under the GNU General Public License. Permanently replace the occurrence of the string text editor with the string word processor. Display the new nano.txt.

11. Give a sorted directory listing, sorted by creation time, of your home directory and save that listing in a new file named sorted-home. Display on the screen the content of sorted-home file.

12. List all the names of the files from your directory, except those that have names *.txt by using grep.

13. List all the active processes on your system.

14. Start another bash on the system with $bash. See what processes belong to you. Which process is the parent of the new bash? 15. Start a new telnet session or with putty. Now see your processes again. Destroy the new session from the previous terminal.

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions