HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Software / Tools > Linux Operating Systems


Linux Operating Systems Talk about all Linux distributions and software here!

Reply
 
Thread Tools
Old Sep 3, 2004, 05:47 AM   #1
I = Greatest Dood
 
GutterPunk's Avatar
 
Join Date: Nov 2003
Location: Nebraska
Posts: 5,949
Rep Power: 71
GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!

Donator
Now taking a Linix/unix class

Holy cow this stuff is great, I can see why you guys love linix/unix. This stuff is so itneresting, give me 2 more months and hopefully i can help troubleshoot with the best of you, we are into vi, setting up users and all that good stuff right now. command line only of course. this stuff is insanely fun and interesting. My friend has met linus torvalds (if thats how you spell it) before and kinda got me going on the subject and so far i love it.
__________________
Rock On \m/ Thank you Mousey for the Sig!
---------------

Intel Core2Duo E6660 (3.4GHZ) ~ Tuniq Tower 120 ~ Enermax Galaxy 1000W ~ Corsair Dominator @ 1090MHZ 5-5-5-15 (OCZ XTC Modded Cooler)~ EVGA 8800GTX W/ HR-03 Plus 120MM ~ Asus DVD-RW LiteScribe ~ LG DVD-RW ~ Corsair Voyager 2GB ReadyBoost Drive ~ Vantec Nexus Fan Controller ~ ThermalTake Armor 25CM fan ~
Personal Finance Blog: Dent Your Debt
GutterPunk is offline   Reply With Quote


Old Sep 3, 2004, 03:23 PM   #2
Styleless Wonder
 
No_Style's Avatar
 
Join Date: Jun 2002
Location: Ottawa, Ontario
Posts: 6,034
Rep Power: 0
No_Style is on a distinguished road

Yeah, Linux is fun for awhile... just wait til you get to scripting It'll either make you or break you. Process Management isn't too thrilling either.. I also found that the more commands I learned.. the more I appreciated DOS and its naming scheme. The man pages will become your best friend!
__________________
"The Best Style Is No Style"
Specifications Here

No_Style is offline   Reply With Quote
Old Sep 4, 2004, 08:56 AM   #3
BSD SMASH!
 
Malus's Avatar
 
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0
Malus is on a distinguished road

s/fun/more fun than a barrel of monkeys/g
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5

router (FreeBSD/amd64 8-CURRENT):
Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F

wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p

mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram -
Headroom MicroDAC

Portable sound: Rockboxed iPod Video -> Westone UM2's
Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's
Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10
Malus is offline   Reply With Quote
Old Sep 6, 2004, 10:03 PM   #4
A Legend in Underwear
 
UberLord's Avatar
 
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 0
UberLord will become famous soon enough

echo sdnammoc sselesu dna lufesu ynam nrael lliw uoy yllufepoH | rev
__________________
Gentoo Linux - Developer (baselayout)
Read my blog

"I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours."
Stephen Roberts
UberLord is offline   Reply With Quote
Old Sep 7, 2004, 01:02 AM   #5
Styleless Wonder
 
No_Style's Avatar
 
Join Date: Jun 2002
Location: Ottawa, Ontario
Posts: 6,034
Rep Power: 0
No_Style is on a distinguished road

Quote:
Originally Posted by UberLord
echo sdnammoc sselesu dna lufesu ynam nrael lliw uoy yllufepoH | rev
That's a command? Wow.. Talk about trivial
__________________
"The Best Style Is No Style"
Specifications Here

No_Style is offline   Reply With Quote
Old Sep 16, 2004, 07:56 PM Threadstarter Thread Starter   #6
I = Greatest Dood
 
GutterPunk's Avatar
 
Join Date: Nov 2003
Location: Nebraska
Posts: 5,949
Rep Power: 71
GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!

Donator
well would any1 be interested in uhhh like partial tutor me, but not really tutor me just help me when i have questions and need stuff explained and willing to teach me a few new things?
__________________
Rock On \m/ Thank you Mousey for the Sig!
---------------

Intel Core2Duo E6660 (3.4GHZ) ~ Tuniq Tower 120 ~ Enermax Galaxy 1000W ~ Corsair Dominator @ 1090MHZ 5-5-5-15 (OCZ XTC Modded Cooler)~ EVGA 8800GTX W/ HR-03 Plus 120MM ~ Asus DVD-RW LiteScribe ~ LG DVD-RW ~ Corsair Voyager 2GB ReadyBoost Drive ~ Vantec Nexus Fan Controller ~ ThermalTake Armor 25CM fan ~
Personal Finance Blog: Dent Your Debt
GutterPunk is offline   Reply With Quote
Old Sep 16, 2004, 11:22 PM   #7
Styleless Wonder
 
No_Style's Avatar
 
Join Date: Jun 2002
Location: Ottawa, Ontario
Posts: 6,034
Rep Power: 0
No_Style is on a distinguished road

What would you like to know?

I just spent 2.5 hours of Linux 3 Basically networking with Linux... we're doing Apache next week. FUN!

"service ipchains stop" solves a lot of problems for me today
__________________
"The Best Style Is No Style"
Specifications Here

No_Style is offline   Reply With Quote
Old Sep 16, 2004, 11:33 PM Threadstarter Thread Starter   #8
I = Greatest Dood
 
GutterPunk's Avatar
 
Join Date: Nov 2003
Location: Nebraska
Posts: 5,949
Rep Power: 71
GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!

Donator
apache is great man so much fun

I am working on shell scripting, the basics, up to making a 4 option menu to do whatever i want to, (if then statements get an A)

if you could help me itd be awesome, got msn or anything ?
__________________
Rock On \m/ Thank you Mousey for the Sig!
---------------

Intel Core2Duo E6660 (3.4GHZ) ~ Tuniq Tower 120 ~ Enermax Galaxy 1000W ~ Corsair Dominator @ 1090MHZ 5-5-5-15 (OCZ XTC Modded Cooler)~ EVGA 8800GTX W/ HR-03 Plus 120MM ~ Asus DVD-RW LiteScribe ~ LG DVD-RW ~ Corsair Voyager 2GB ReadyBoost Drive ~ Vantec Nexus Fan Controller ~ ThermalTake Armor 25CM fan ~
Personal Finance Blog: Dent Your Debt
GutterPunk is offline   Reply With Quote
Old Sep 16, 2004, 11:43 PM   #9
Styleless Wonder
 
No_Style's Avatar
 
Join Date: Jun 2002
Location: Ottawa, Ontario
Posts: 6,034
Rep Power: 0
No_Style is on a distinguished road

You played with Apache?

Never made a 4 option menu before.. in fact I never made a menu.
__________________
"The Best Style Is No Style"
Specifications Here

No_Style is offline   Reply With Quote
Old Sep 17, 2004, 05:30 PM Threadstarter Thread Starter   #10
I = Greatest Dood
 
GutterPunk's Avatar
 
Join Date: Nov 2003
Location: Nebraska
Posts: 5,949
Rep Power: 71
GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!

Donator
i had my own apache server running at my house for awhile (untill my mobo went poop)

i know a little but not much,...

do you understand if then statements?
__________________
Rock On \m/ Thank you Mousey for the Sig!
---------------

Intel Core2Duo E6660 (3.4GHZ) ~ Tuniq Tower 120 ~ Enermax Galaxy 1000W ~ Corsair Dominator @ 1090MHZ 5-5-5-15 (OCZ XTC Modded Cooler)~ EVGA 8800GTX W/ HR-03 Plus 120MM ~ Asus DVD-RW LiteScribe ~ LG DVD-RW ~ Corsair Voyager 2GB ReadyBoost Drive ~ Vantec Nexus Fan Controller ~ ThermalTake Armor 25CM fan ~
Personal Finance Blog: Dent Your Debt
GutterPunk is offline   Reply With Quote
Old Sep 17, 2004, 05:42 PM   #11
Styleless Wonder
 
No_Style's Avatar
 
Join Date: Jun 2002
Location: Ottawa, Ontario
Posts: 6,034
Rep Power: 0
No_Style is on a distinguished road

I don't know them off hand, but use Google dude! Google helped me a lot along with my classmates. Also check the man pages. Google is your best friend, get to know him and know how to exploit him for your benefits

"man if" I believe.

Here are some nice resources:

Linux Shell Scripting Tutorial
Linux Shell Programming
__________________
"The Best Style Is No Style"
Specifications Here

No_Style is offline   Reply With Quote
Old Sep 17, 2004, 06:54 PM Threadstarter Thread Starter   #12
I = Greatest Dood
 
GutterPunk's Avatar
 
Join Date: Nov 2003
Location: Nebraska
Posts: 5,949
Rep Power: 71
GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!

Donator
thank you very much

i do use google, but i never get the good sites hah, and after an hour of looking i cant sit any longer
__________________
Rock On \m/ Thank you Mousey for the Sig!
---------------

Intel Core2Duo E6660 (3.4GHZ) ~ Tuniq Tower 120 ~ Enermax Galaxy 1000W ~ Corsair Dominator @ 1090MHZ 5-5-5-15 (OCZ XTC Modded Cooler)~ EVGA 8800GTX W/ HR-03 Plus 120MM ~ Asus DVD-RW LiteScribe ~ LG DVD-RW ~ Corsair Voyager 2GB ReadyBoost Drive ~ Vantec Nexus Fan Controller ~ ThermalTake Armor 25CM fan ~
Personal Finance Blog: Dent Your Debt
GutterPunk is offline   Reply With Quote
Old Sep 17, 2004, 10:31 PM   #13
Styleless Wonder
 
No_Style's Avatar
 
Join Date: Jun 2002
Location: Ottawa, Ontario
Posts: 6,034
Rep Power: 0
No_Style is on a distinguished road

It's all in the proper keywords my good man.

It took me 4-6 minutes to find those sites I was looking for. I typed "Linux shell programming" and that gave me the best results.
__________________
"The Best Style Is No Style"
Specifications Here

No_Style is offline   Reply With Quote
Old Sep 18, 2004, 01:15 AM Threadstarter Thread Starter   #14
I = Greatest Dood
 
GutterPunk's Avatar
 
Join Date: Nov 2003
Location: Nebraska
Posts: 5,949
Rep Power: 71
GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!

Donator
i havent' look for shell programming guides yet, i was mainly looking for a tutor friend not some tech manual that puts me to sleep. interaaction with these subjects make life easier
__________________
Rock On \m/ Thank you Mousey for the Sig!
---------------

Intel Core2Duo E6660 (3.4GHZ) ~ Tuniq Tower 120 ~ Enermax Galaxy 1000W ~ Corsair Dominator @ 1090MHZ 5-5-5-15 (OCZ XTC Modded Cooler)~ EVGA 8800GTX W/ HR-03 Plus 120MM ~ Asus DVD-RW LiteScribe ~ LG DVD-RW ~ Corsair Voyager 2GB ReadyBoost Drive ~ Vantec Nexus Fan Controller ~ ThermalTake Armor 25CM fan ~
Personal Finance Blog: Dent Your Debt
GutterPunk is offline   Reply With Quote
Old Oct 15, 2004, 11:46 PM   #15
Carpcarpcarpcarpcarp
 
Join Date: Jun 2003
Location: nauticus
Posts: 232
Rep Power: 0
nauticus is on a distinguished road

I recommend reading Linux Programming for Dummies. Very easy to digest, hence the title.



Not saying you're an idiot, or anything!


A 4 option menu? I'll write up a basic one:
There are two simple methods: If-elif-else, and case(better for what you are doing)

If-else:

Code:
echo "Choose an option, 1-4."
read Option                  #User's keyboard input is stored in variable "Option" (this is a comment, and is ignored by  bash)
if [ $Option -eq 1 ]   #if the input in variable Option equals 1...
       then
              echo "You have entered ONE!"
       elif  [ $Option -eq 2 ] #be careful here! if you put an 'if' here you create a "nest," if statements within another
            then
                  echo "You have entered TWO!"
       elif [ $Option -eq 3 ]
             then
                  echo "You have entered THREE!"
       elif [ $Option -eq 4 ]
             then
                  echo "You have entered FOUR!"
       else #you could just skip it, as it isn't neccessary for the menu, but it's fun!
             echo "What the hell is wrong with you? Is it too hard to enter a valid number?"
fi #so bash knows the if statement is over. If you forget this, all code below this will belong (and only execute if it is true) the first if statement (if [ $Option -eq 1 ]...), which will lead to debugging hell, if this wasn't intended)
And my favorite, the case statement:
Code:
echo "Choose an option, 1-4."
read Option     
case $Option in      #initialize the case statement
       1)          #if you entered one, do this
                echo "You entered ONE!"
                ;;    #so bash knows the first case is done.
       2)   
                echo "You entered TWO!"
                ;; 
       3)   
                echo "You entered THREE!"
                ;; 
       4)   
                echo "You entered FOUR!"
                ;; 
       *)       #like the statement "else"
                echo "What the hell is wrong with you? Is it too hard to enter a valid number?"
esac   #so bash knows the whole case statement is done. if you don't do this, it gets even more hellish than if you forget "fi" in an if statement!
Notice, in the last case, you don't need to use ";;" if it is a "*)" case.



Have fun!

Oh yea, you are most likely scripting in BASH (Bourne Again Shell), so when I say BASH, you now what I mean.
Also if you try Googling for tutorials, try "bash scripting"

Last edited by nauticus; Oct 16, 2004 at 12:22 AM.
nauticus is offline   Reply With Quote
Old Oct 16, 2004, 05:59 AM Threadstarter Thread Starter   #16
I = Greatest Dood
 
GutterPunk's Avatar
 
Join Date: Nov 2003
Location: Nebraska
Posts: 5,949
Rep Power: 71
GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!GutterPunk is just super!

Donator
i know what bash is

I have my basic 4 option menu written

Everything works, including the embedded case statment

Im also using kornshell

AND!!! i just need to learn how to do if then or whatever linux/unix uses

I understand my variables like

echo "You have chosen option 4, now to create your file...
echo "please enter filename:"
read file

EDIT: Heh this was a different thread from my help thread
touch $file
ls -al
__________________
Rock On \m/ Thank you Mousey for the Sig!
---------------

Intel Core2Duo E6660 (3.4GHZ) ~ Tuniq Tower 120 ~ Enermax Galaxy 1000W ~ Corsair Dominator @ 1090MHZ 5-5-5-15 (OCZ XTC Modded Cooler)~ EVGA 8800GTX W/ HR-03 Plus 120MM ~ Asus DVD-RW LiteScribe ~ LG DVD-RW ~ Corsair Voyager 2GB ReadyBoost Drive ~ Vantec Nexus Fan Controller ~ ThermalTake Armor 25CM fan ~
Personal Finance Blog: Dent Your Debt
GutterPunk is offline   Reply With Quote
Reply

Thread Tools