473,511 Members | 16,738 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I Need Your Help; I Am New To Unix!

1 New Member
I'M TRYING TO LEARN UNIX WITH THE HELP OF SOME BOOKS. PLEASE HELP ME WITH EXERCISE BELOW.

From your home directory, create a new directory named coursework.
In this directory create further directories named chapter2, chapter3, chapter4, chapter5, chapter6, chapter7 and chapter8 respectively.
In your newly created directory, chapter2, create a file named 'dir_listing' and, using the 'ls -l command', place a copy of the contents of the root (/) directory in it ( see section 5, 'Displaying the beginning or end of a file', for details on how to acheive this).
Now obtain a list of users (found in /home/) and append this to the contents of the 'dir_listing' (remember the '>>' command!).
Finally, create a symbolic link to the file created above in the chapter2 directory and name it link_dir_listing.
Oct 8 '07 #1
3 1403
sicarie
4,677 Recognized Expert Moderator Specialist
I'M TRYING TO LEARN UNIX WITH THE HELP OF SOME BOOKS. PLEASE HELP ME WITH EXERCISE BELOW.
Whoa, no need to shout. Okay, and after reading that chapter, did you have an idea of how to do that? I'm guessing the chapter introduced a few commands... maybe ones that started with mk or the letter l?
Oct 8 '07 #2
numberwhun
3,509 Recognized Expert Moderator Specialist
I'M TRYING TO LEARN UNIX WITH THE HELP OF SOME BOOKS. PLEASE HELP ME WITH EXERCISE BELOW.

From your home directory, create a new directory named coursework.
In this directory create further directories named chapter2, chapter3, chapter4, chapter5, chapter6, chapter7 and chapter8 respectively.
In your newly created directory, chapter2, create a file named 'dir_listing' and, using the 'ls -l command', place a copy of the contents of the root (/) directory in it ( see section 5, 'Displaying the beginning or end of a file', for details on how to acheive this).
Now obtain a list of users (found in /home/) and append this to the contents of the 'dir_listing' (remember the '>>' command!).
Finally, create a symbolic link to the file created above in the chapter2 directory and name it link_dir_listing.
I agree with sicarie. Usually the questions at the end of chapters use what was in the chapters. You may want to re-read the chapter again.

Also, please know that you do not need to try to convey your sense of urgency as an emergency for you does not translate to an emergency for the rest of us. All questions here have the same priority.
Regards,

Jeff
Oct 8 '07 #3
Motoma
3,237 Recognized Expert Specialist
I'M TRYING TO LEARN UNIX WITH THE HELP OF SOME BOOKS. PLEASE HELP ME WITH EXERCISE BELOW.

From your home directory, create a new directory named coursework.
In this directory create further directories named chapter2, chapter3, chapter4, chapter5, chapter6, chapter7 and chapter8 respectively.
In your newly created directory, chapter2, create a file named 'dir_listing' and, using the 'ls -l command', place a copy of the contents of the root (/) directory in it ( see section 5, 'Displaying the beginning or end of a file', for details on how to acheive this).
Now obtain a list of users (found in /home/) and append this to the contents of the 'dir_listing' (remember the '>>' command!).
Finally, create a symbolic link to the file created above in the chapter2 directory and name it link_dir_listing.
Okay, so what do you have so far? What have you tried, and what do you need help with. Let's work through this one problem at a time.
Oct 9 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
6528
by: dpackwood | last post by:
Hello, I have two different scripts that do pretty much the same thing. The main perl script is on Windows. It runs and in the middle of it, it then calls out another perl script that then...
4
3892
by: Azhar Bilgrami | last post by:
Dear Hi: Hope to see u in good health. " I want to migrate a database which is currently running Unix as Operating System and Oracle ver 6 as Database, it is also using oracle froms version 3...
1
2246
by: Jung Joon Park | last post by:
Hi everyone. I am JJ Park. I got some questions in C++. First of all, my English is not perfect, because I am foreigner. I have got C++ code, which have no syntex error in Visual C++ ver6.0...
30
4113
by: nephish | last post by:
Hey there, i have tried about every graphing package for python i can get to work on my system. gnuplot, pychart, biggles, gdchart, etc.. (cant get matplot to work) so far, they all are working...
11
1913
by: blah | last post by:
Need python Pro at newtopython@googlegroups.com , if u wanna help, plz reply to that address. We are python beginners. need a real good Python Programmer for Help. TIA!! -- * Posted with...
9
1524
by: Freebird | last post by:
Hello everyone ... I've a problem in here, I need to make a 70 000 rows insert, and it's taking a lot more than 30 seconds, my problem is that it will be a script that will work in many...
5
1825
by: Kevin Carne | last post by:
First, Merry Christmas. I have been doing intensive Java programming for two years in school (no choice on the language), but now I need to return to C++ because my resume is filled with it both in...
4
2838
by: Web_PDE_Eric | last post by:
I don't know where to go, or what to buy, so plz re-direct me if I'm in the wrong place. I want to do high performance integration of partial differential eqns in n dimensions (n=0,1,2,3..etc) I...
1
1261
by: sandhya rani | last post by:
Dear Forum Members, I request all of u to pls Give me some details or websites where i can get unix related project documentation which has to be mainly based on...
12
8569
by: =?ISO-8859-1?Q?Thomas_B=F8rlum?= | last post by:
Hey all, I'm writing a c++ program that needs to read a file. I'm trying to read a file that is in the same directory as the executable. Everything works fine if I execute the program while in...
0
7138
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7355
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7423
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7510
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5668
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3225
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1576
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
781
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
447
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.