~/UnixCourse
directory or in some subdirectory directly or indirectly within it. You also know that the file name ended in ‘.txt
’. You are pretty sure that you could recognize the file from just the first line.head
that will print the first few lines of any file and suspect that, with the proper parameters, it could be used to print just the first line. (Hint – part of your task in this question is to show that you can use the built-in Unix help facilities.)~/UnixCourse
or its subdirectories (possibly nested several layers deep) followed immediately by the first line of text within that file? E.g., to produce a listing looking like this:/home/yourname/UnixCourse/foo.txt When
in the course of human development /home/yourname/UnixCourse/Quotations/bar.txt Curiouser
and curiouser!
ps -Af
will display a listing of all processes running on the same machine as you are. This includes processes being run by lots of other people. Part of the information shown is the name of the command that launched the process. It also will show the login name of the account that launched that process. Try it now and examine its output.sshd
, the process that accepts an incoming ssh connection like the ones that you have opened for this assignment.sshd
processes running on the machine where you are logged in?