Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-21-2004, 07:27 PM   #1
Member (8 bit)
 
ghost_of_war's Avatar
 
Join Date: Feb 2003
Location: Orlando, FL
Posts: 207
Send a message via Yahoo to ghost_of_war
Unix Class - HELP!

I am learning Unix in class and flat my, our instructor sucks. He doesn't explain anything too well and then plopped this assignment on us and I am clueless as to what he is speaking of. I attached the file in hope someone can maybe better explain it to me - for example, the tilde command and what does it do?
Attached Files
File Type: txt assignment.txt (4.2 KB, 96 views)
ghost_of_war is offline   Reply With Quote
Old 05-21-2004, 07:48 PM   #2
Member (10 bit)
 
Join Date: Jun 2003
Location: Alaska
Posts: 903
Send a message via AIM to ZeratulsAvenger
~ isnt a command I dont think. I was sure it is a representation of of the present directory. Maybe I am wrong on that though since I am just pulling that off of something in my head that could be making it up , hope it's right though

EDIT: Hmmm... Guess I was kinda wrong

~user
1. On UNIX, a home directory can be referenced by using a tilde (~) followed by their login name. For example, "ls ~rob" on my computer will list all the files in "/home/rob". Key point: Web-servers often allow access to user's directories this way. An example would be http://www.robertgraham.com/~rob. Key point: A big hole on the Internet is that people unexpectedly open up information. For example, the file .bash_history is a hidden file in a person's directory that contains the complete text of all commands they've entered into the shell (assuming their shell is bash, which is the most popular one on Linux). From Hacking-Lexicon

Last edited by ZeratulsAvenger; 05-21-2004 at 07:52 PM.
ZeratulsAvenger is offline   Reply With Quote
Old 05-22-2004, 07:37 AM   #3
Member (8 bit)
 
ghost_of_war's Avatar
 
Join Date: Feb 2003
Location: Orlando, FL
Posts: 207
Send a message via Yahoo to ghost_of_war
That seems to make more sense than what I was going for. Thanks my friend........
ghost_of_war is offline   Reply With Quote
Old 05-22-2004, 08:51 AM   #4
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Its bad enough that you don't even take the time to ask doubts of questions on here, rather than attaching your assignment sheet - complete with your instructor's email address and submission method; it's pretty apparent that you havent taken the time to RESEARCH out the answers out there. The reason for the assignment (and the course) is for you to do some study of yourself to learn the switches for the different commands.
Statica is offline   Reply With Quote
Old 05-23-2004, 11:30 AM   #5
Member (8 bit)
 
ghost_of_war's Avatar
 
Join Date: Feb 2003
Location: Orlando, FL
Posts: 207
Send a message via Yahoo to ghost_of_war
I simply asked for quick help Statica, I didn't need your damn attitude........
ghost_of_war is offline   Reply With Quote
Old 05-23-2004, 12:15 PM   #6
Member (4 bit)
 
Join Date: May 2004
Location: Southeast Wisconsin
Posts: 9
UNIX help

The assignment given is quite fundamental, but I can see why you are confused if the instructor isn't instructing!
All commands needed can be found at unix.about.com
If you're using Solaris, you should be enrolled in Sun's Learning Academy through your school. These on line lessons are priceless & will help you greatly. Sun's Web site will answer many questions you may have even if you aren't enrolled.
You can do alot of homework on a Linux box because some of the commands are the same. I recommend buying a used UNIX system through an on-line auction which will make your life allot easier. I paid $225.00 for a Sun Ultra 10 with Solaris 9 and it was well worth every penny and helped me complete UNIX fundamentals and admin 1 for the Sun Certified System Admin Cert.
Hang in there and there are always UNIX types out there to help. It seems confusing now, but with the right tools you'll learn allot quickly.
Basic stuff needed from assignment:
pwd- present working directory
ls -a displays hidden files
To view the .txt file use more (file name)
cat (file name)
head (file name)
tail (file name)
cd will always return you to home directory
permissions- chmod for existing files
umask for files created in future
Good Luck!
To quote Dennis Richie the UNIX OS creator:
"UNIX is basically a simple operating system, but you have to be a genious to understand the simplicity"
tcappert is offline   Reply With Quote
Old 05-25-2004, 08:08 PM   #7
Member (13 bit)
 
Floppyman's Avatar
 
Join Date: Mar 1999
Posts: 6,789
I'm glad your instructor is starting out with teaching you all these commands. I think with any *NIX OS you won't really realize it's power and potential until you become comfortable with the command line and stop pointing and clicking. HTH
Floppyman is offline   Reply With Quote
Old 05-26-2004, 01:09 AM   #8
Member (10 bit)
 
LocoCoyote's Avatar
 
Join Date: Jan 2003
Location: Germany
Posts: 533
Send a message via Yahoo to LocoCoyote Send a message via Skype™ to LocoCoyote
I have always found that the best way to learn something *nix in particular is to just play with it.
Use google to find helpful sites and use the man command (ie man ls ). One thing I love about *nix...there is tons of online documentation and most of it is already on your box!
I have to agree a bit with statica...try it first, do some research yoou will get more out of it that way!
Good Luck.
__________________
Nisi defectum, Exploro quippini
LocoCoyote is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:42 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0