|
Search Forums:
|
|||||||
| Forums | Register | Forum Rules | Linux and Unix Links | Man Pages | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hey guys, I need help with simple unix commands. I'm a newbie to Unix and don't know these commands. Any help is appreciated. Code:
1. Logon to Linux. 2. Create a directory "Unix" under your home directory. Command(s): …………………………………………. 3. Create four sub-directories bin, conf, docs and data under the directory "Unix" created by you in step 2. See the directory diagram below: Command(s): …………………………………………. 4. Create the document called “sed-info” in your "Unix" directory using touch command. Command: …………………………………………. 5. Create the document called “join-info” in your "Unix" directory using touch command. Command: …………………………………………. 6. While in the Unix directory, move the files "sed-info" and "join-info" to directory “docs” using a single UNIX command. Command: …………………………………………. 7. Change to your home directory. Command: …………………………………………. 8. Use a single command to rename and move the “sed-info” from the “docs” directory to the “bin” directory. Command: …………………………………………. 9. Change to the data directory. Command: …………………………………………. 10. While in the data directory create a command that would copy the “sed-info” from the “bin” directory and “join-info” from the docs directory to the “conf” directory using a) absolute paths and b) relative paths. Command (relative path): …………………………………………. Command (absolute path): …………………………………………. 11. Move to your home directory. Create a single command that would delete the Unix directory and all the files and subdirectories of the Unix directory. Command: …………………………………………. |
| Sponsored Links | |
|
|
|
#2
|
||||
|
||||
|
This look very much like homework to me ... Thread closed unless you can justify...
Read the forum rules again: There is a forum for class / homework... And this forum has strict rules you are to comply with if you do not want to be banned... http://www.unix.com/homework-coursework-questions/ http://www.unix.com/homework-coursew...ons-forum.html |
| Sponsored Links | ||
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| simple problem for a newbie | delphys | Shell Programming and Scripting | 4 | 09-08-2011 09:42 AM |
| AIX commands newbie | redtred | UNIX for Dummies Questions & Answers | 0 | 10-06-2009 03:08 AM |
| Newbie problem with simple script to create a directory | gwfay | Shell Programming and Scripting | 2 | 11-04-2008 01:25 PM |
| Simple newbie grep question | doubleminus | UNIX for Dummies Questions & Answers | 5 | 04-06-2008 06:05 PM |
| Newbie needs help with simple script | shizizzle | Shell Programming and Scripting | 12 | 03-21-2006 11:01 AM |
|
|