Preview

CNE 251 Lab 07

Satisfactory Essays
Open Document
Open Document
548 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
CNE 251 Lab 07
CNE 251 – LAB 07
Project 7-1:
3) Yes the stdout reads both sample1 and sample2. There is a stderr message due to sample3 not existing / being found.
4) You do receive an error as it is trying to find sample3 which does not exist.
5) The contents of the file listed are sample1 and sample2….again sample3 does not exist.
6) There are the sample1 and sample2 results from the ls. Sample3 is not listed.
8) There is not stdout message or error message as a result of this. Nothing was changed from the previous data.
9) The contents of the file are both sample1 and sample2.
10) Cat File2 has nothing in the directory.
11) No sample3 file is found when running that command.
12) The output after the addition of file 2>&1 is still the same with sample1 and sample2.
14) There are no contents listed under file2 – method to create was incorrect.
16) Contents for cat file is just a directory itself with one date file.
18) You now have 2 time stamped files, based on using the date two separate times.
I received a core dump error – undetermined as to why..

PROJECT 7-2:
2) The | shell character combined with the less instructs the contents to be listed only line by line, not to do a page by page listing (more).
3) 4 lines are displayed matching the “keep” string. It searched within the entry listed.
4) The output from this command specifically looks for entries with small and uppercase E listings.
5) You are sorting the listing of matching entries from largest to smallest.
7) The output from the command lists the total numbers of lines that match which is 6.
8) You changed the maximum keep alive from 100 to 150 with that command.
9) The output from the command listed lines 1 and 3 from the hosts file.

PROJECT 7-3:
3) The listing is smaller than the previous one as you ensured less was shown.
4) The entry for your directory listing switched to Hello There.
6) The additions to the profile would insert a prompt option for you to be given a greeting…first line being

You May Also Find These Documents Helpful