Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i need help doing the following can someone guide me through the steps please I'm usung ubuntu
PART1 CREATE A FILE STRUCTURE
Recreate the following file structure starting from your home directory.
userid
`lab01a
|-- one
| |-- 1.txt
| `-- three
| |-- 3.txt
| `-- four
| `-- 4.txt
`-- two
|-- 2.txt
`-- five
`-- 5.txt
NOTE:userid represents your vlab userid.
Directories: lab01a, one, two, three, four, five
Text Files: 1.txt, 2.txt, 3.txt, 4.txt, 5.txt
1.txt file content: Linux is an Operating System
2.txt file content: Linux is based on Unix
3.txt file content: vlab uses Fedora8
4.txt file content: cis440 at cis174
5.txt file content: putty.exe is an ssh client application
PART2*COPY SECTION
Under your home folder copy the entire lab01a file structure into lab01b directory with ___________________________________
Write down below the commands used to copy all the text files
found within lab01a into a directory called lab01c:
Whitespace of the attempted ASCII art tree structure did not come through correctly. In order to preserve spacing, and guarantee use of a monospace font (as opposed to a proportional font), use the "code" tags. The result will look something like this:
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
This looks like homework.
Look at the mkdir command; i.e., open a console and enter man mkdir. Also look at the man page for the touch command; i.e., man touch, as well as the cat command with redirection.
i need help doing the following can someone guide me through the steps please I'm usung ubuntu
PART1 CREATE A FILE STRUCTURE
Recreate the following file structure starting from your home directory.
userid
`lab01a
|-- one
| |-- 1.txt
| `-- three
| |-- 3.txt
| `-- four
| `-- 4.txt
`-- two
|-- 2.txt
`-- five
`-- 5.txt
NOTE:userid represents your vlab userid.
Directories: lab01a, one, two, three, four, five
Text Files: 1.txt, 2.txt, 3.txt, 4.txt, 5.txt
1.txt file content: Linux is an Operating System
2.txt file content: Linux is based on Unix
3.txt file content: vlab uses Fedora8
4.txt file content: cis440 at cis174
5.txt file content: putty.exe is an ssh client application
PART2*COPY SECTION
Under your home folder copy the entire lab01a file structure into lab01b directory with ___________________________________
Write down below the commands used to copy all the text files
found within lab01a into a directory called lab01c:
PART3-Relative VS Absolute Addressing
Assume you are in your home directory. Using the information in Part1 above:
What is the absolute path to the file 1.txt?
What is the relative path to the file 2.txt?
What is the absolute path to the file 3.txt?
What is the relative path to the file 3.txt?
This is your homework; so YOU need to actually do the work. Tell us what YOU think the answers are, and we can tell you if you're off base or not. But we're not going to do your homework for you...do not ask for handouts. Show some effort of your own.
urbanwks, with apologies to Joyce Kilmer: I think that I shall never see
A poem as lovely as a tree,
But unlovely as this poem may be,
Take it. You don't get no tree.
BW-userx: Putty is an ssh client for use on Windows. It can be used to connect to Linux systems.
well that is just crazy talk... what is windows again? I only remember my mom yelling at me get your head back in from that window. what are you a call girl? never understood that either because I am not a girl. lol
ps thanks for the info, but isn't he using a Linux sys already so that exe file has to be installed on Windows and not linux in order for it to work. therefore one would not see said file on a linux but windows yes?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.