09-28-2010
cant complete lab ???
Quote:
1. Start a command-line session with matrix.
2. Working from your
home directory create a directory named
lab2b (use all lowercase letters)
3. Copy the
Acceptable-Use-Policy file that resides in your home directory to your
lab2b directory
4. Make
lab2b your present working directory
5. Without changing working directories, list the contents of your home directory. Be sure that hidden files are also listed
6. Change directories to your home directory using the fewest possible keystrokes.
7. While in your home directory, create another directory called
Labs (note that the "L" in "Labs" is uppercase).
8. Move your lab2b directory (including its contents) into Labs.
9. Use the tree command to verify the layout of your Labs directory. Your Lab directory structure should now look like this:
~
|
--------
|
Labs
|
-------
|
lab2b
|
-----
|
Acceptable-Use-Policy
Draw the above directory tree on a separate sheet of paper and keep updating it as you complete the following commands
Note: If the tree command output looks different, check your work for previous steps and redo them as needed.
10. Make
lab2b your working directory
11. Working from
lab2b, use the
cat command to view the contents of the file called
Acceptable-Use-Policy
12. Repeat the previous question using the
more command. What did you notice that was different? Write down your observations.
13. Copy the
/etc/group file to your present working directory (
lab2b)
Note: under certain circumstances you may not be able to access the above file. In such case, use /home/uli101/group instead, noting the difference on your paper.
heres the lab i did everything but when i issue the automated lab check.
but it gives me this everytime
''you are missing the /home/smichaels/Labs/lab2b/group file, please create it as per step 12 of the lab.
once you have corrected this problem, re-run the uli101.023 program''
im dumbfounded cause i think im doing it correctly/
---------- Post updated at 04:44 PM ---------- Previous update was at 04:37 PM ----------
anyone ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I was wondering if anyone has used VMWare Workstation? I wanted to practice and learn Unix in a networking environment and have my own home lab. However room and money prevent me from buying several computers to do so. Any input would help thank you. (0 Replies)
Discussion started by: vedder191
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Does anyone know how to make BASH provide a list of possible completions on the first tab, and then start cycling through the possibilites on the next tab?
Right now this is what I have in my .bashrc:
bind "set show-all-if-ambiguous on"
bind \\C-o:menu-complete
This allows... (0 Replies)
Discussion started by: Mithu
0 Replies
3. Programming
In the following Shell Script can anyone help me?
What are the total scripts?
What are the total binaries?
What are the total files?
#!/bin/sh
GREP="/bin/grep -q"
if ; then
if ; then
for | in ${I}/* ;do
file ${I} | ${GREP} "executable" && echo "${I} is a binary"
file ${I} |... (1 Reply)
Discussion started by: rktompsett
1 Replies
4. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
''you are missing the /home/smichaels/Labs/lab2b/group file, please create it as per step 12 of the lab.
once... (4 Replies)
Discussion started by: ink
4 Replies
5. Homework & Coursework Questions
hi.. this is shell scripting lab15.sh
i dont understand this lab i am at the screen shot part. i was wondering if someone can take a quick look at this lab i have linked the doc below. i dont know where to start
i have did the
Required Errorlevels
Errorlevel # but dont... (1 Reply)
Discussion started by: beerpong1
1 Replies
6. Shell Programming and Scripting
Write a script that copies the file tree (including subdirectories) in your home directory. As the initial directory to take the directory / usr / share / doc, as the destination directory using the directory $ {HOME} / doc.
Write a script corresponding to paragraph 1. Additional conditions: a)... (1 Reply)
Discussion started by: elginmulizwa
1 Replies
7. Hardware
So, I have a kindof off the wall question. I've got 10 computers which I inherited from a charter school that closed that I did their admin work for. They're not servers, just workstations with ubuntu server running on them. I had them all up and running at one point... but crimineys the load on my... (8 Replies)
Discussion started by: jtollefson
8 Replies
8. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Here are my directions. I am pretty sure I am doing this right, but I just want someone more experienced to look... (4 Replies)
Discussion started by: Jagst3r21
4 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Filter a file for lines that have exactly 5 numbers in a row.
2. Relevant commands, code, scripts,... (13 Replies)
Discussion started by: herb bertz
13 Replies
10. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Create a group id with your last name. Create 2 user IDs using your last name and the numbers 1 and 2. For each... (3 Replies)
Discussion started by: Jagst3r21
3 Replies