Help completing lab.

 
Thread Tools Search this Thread
Homework and Emergencies Homework & Coursework Questions Help completing lab.
# 1  
Old 09-28-2010
Help completing lab.

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:
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/



2. Relevant commands, code, scripts, algorithms:



3. The attempts at a solution (include all code and scripts):



4. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):

seneca toronto canada , tanvir alam uli101

Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).

---------- Post updated at 06:33 PM ---------- Previous update was at 06:07 PM ----------

anyone ?
# 2  
Old 09-28-2010
what is your question?
# 3  
Old 09-29-2010
it says im missing the file. which im pretty sure i created. but it keeps saying i have to create it.
# 4  
Old 09-29-2010
But how can you expect us to help you if you havent given the slightest clue:
Quote:


2. Relevant commands, code, scripts, algorithms:



3. The attempts at a solution (include all code and scripts):

are empty...


Without information on what you did so far, it will be difficult to help you, sorry...
# 5  
Old 09-29-2010
Please can you post the output from this directory listing:
It lists every file and directory in your home directory.

Code:
ls -laR /home/smichaels

It should show whether there is a file called "group" and where that file can be found. It will also confirm that the directory tree is what is expected.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash not calling function after completing

In the below bash the function execute is started with the while true at the end of the script. Currently, this works and processing does begin. The function panel in bold does not get called after execute completes, therefore the user does not get the menu selection and the files just loop... (3 Replies)
Discussion started by: cmccabe
3 Replies

2. Shell Programming and Scripting

Code exits before completing

The lines in bold check the value of a user input, if it is not one of the expected genes (GJB2, MECP2, PHOX2B), the user is shown a list of formats to use and the variant is entered. It is then supposed to printf that entered variant? Thank you :). name() { printf "\n\n" printf... (2 Replies)
Discussion started by: cmccabe
2 Replies

3. Shell Programming and Scripting

Need help with completing a bash script

Hello All, I am automating a task using bash script and got stuck at this. From the below input, Meta Device Members (20) : { ---------------------------------------------------------------------- BCV DATA RDF DATA ... (7 Replies)
Discussion started by: Sam R
7 Replies

4. Homework & Coursework Questions

Lab ^

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

5. Homework & Coursework Questions

Processes Lab

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

6. Shell Programming and Scripting

Looping not completing in shell script

Hi, Iam using below code to login to servers to get cpu utilisation. but output is coming for only one server. code is below root@blr-svr-oclan-01 # more SSSC_CPU_UTIL1.sh #!/bin/sh echo "CPU UTILIZATION" while read line; do IDLE=`/usr/local/bin/sshpass -p 'xxx' ssh xxx@$line 'sar 2 2' |... (1 Reply)
Discussion started by: surender reddy
1 Replies

7. Shell Programming and Scripting

help me with lab im new to bash....

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

8. Shell Programming and Scripting

cant complete lab ???

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... (1 Reply)
Discussion started by: ink
1 Replies

9. UNIX for Dummies Questions & Answers

Completing ffmpeg installation

Hello. i am new to unix, though have quite a substantial background of other systems. i recently installed ffmpeg and mencoder on a unix server, which holds a website, in order to use these programs from the website. after installation, i can activate both commands directly using putty, no... (1 Reply)
Discussion started by: noamon
1 Replies

10. Shell Programming and Scripting

Terminate session on completing script

Hai all.. How do i terminate my telnet session automatically when my java applicatiion exits. i have a file run which executes my java application and takes care of all class and library path settings prior to the execution. I would like to terminate my session when my application exits. The... (4 Replies)
Discussion started by: deepsteptom
4 Replies
Login or Register to Ask a Question