Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Scripting a bit of fun...
New Posts  All Forums:Forum Nav:

Scripting a bit of fun...

post #1 of 18
Thread Starter 
Hey all, ive got a book on linux scripting, and just ordered one on perl, perl seems straight forward.

But even looking at the linux scripting, I understand it, but I need a project.

Anyone got any ideas i can do to make a script, ive always thought the best way to learn something is have a purpose in mind, even if you require me to script something for you to work in your own enviroments, I kinda need motivation and goal to get me going.

Thanks for reading
new rig 2011
(14 items)
 
 
Kylie Xeon 2011
(7 items)
 
CPUMotherboardGraphicsRAM
intel 3930k AsusTek Sabertooth x79 EVGA 580 GTX 1536MB Corsair XMS3  
Hard DriveCoolingOSMonitor
Samsung SSD 256 Corsair H80 Windows 7 Pro Dell 24" Ultrasharp 
KeyboardPowerCaseMouse
Logitech G110 Silentcoolpro 750 Antec  Logitech G500 
Mouse PadAudio
Dont be silly Creative X-fi Pro 
CPU
lenovo w520 
CPUMotherboardGraphicsRAM
Dell Precision Workstation W3500 Dell 09KPNV Nvidia Quadro 2000 Spam Ram 
Hard DriveOSMonitor
Western Digital Raid 0 Windows 7 Enterprise Dell 24" x2 
  hide details  
Reply
new rig 2011
(14 items)
 
 
Kylie Xeon 2011
(7 items)
 
CPUMotherboardGraphicsRAM
intel 3930k AsusTek Sabertooth x79 EVGA 580 GTX 1536MB Corsair XMS3  
Hard DriveCoolingOSMonitor
Samsung SSD 256 Corsair H80 Windows 7 Pro Dell 24" Ultrasharp 
KeyboardPowerCaseMouse
Logitech G110 Silentcoolpro 750 Antec  Logitech G500 
Mouse PadAudio
Dont be silly Creative X-fi Pro 
CPU
lenovo w520 
CPUMotherboardGraphicsRAM
Dell Precision Workstation W3500 Dell 09KPNV Nvidia Quadro 2000 Spam Ram 
Hard DriveOSMonitor
Western Digital Raid 0 Windows 7 Enterprise Dell 24" x2 
  hide details  
Reply
post #2 of 18
Quote:
Originally Posted by encrypter View Post

Hey all, ive got a book on linux scripting, and just ordered one on perl, perl seems straight forward.
But even looking at the linux scripting, I understand it, but I need a project.
Anyone got any ideas i can do to make a script, ive always thought the best way to learn something is have a purpose in mind, even if you require me to script something for you to work in your own enviroments, I kinda need motivation and goal to get me going.
Thanks for reading

"perl seems straight forward." lol

Anyhow, is there nothing you want automated?
post #3 of 18
Perl seems pretty simple when people don't understand it. Just think of some thing repetitive that you hate doing... I make many to help me profiling and benchmarking applications, but I doubt that this is your case...
Rubbish
(15 items)
 
  
CPUMotherboardGraphicsRAM
E7400 @ 4ghz 1.376v Asus P5Q3 Sapphire HD6870 Kingston 4GB DDR3 1333MHZ 
Hard DriveHard DriveOSOS
Samsung Spinpoint F3 WD Green Windows 7 64bit Lubuntu 64bit 
PowerCaseMouse
OCZ ModXStream 700W Cooler Master 690 II with side window Razer Deathadder Black Edition 
  hide details  
Reply
Rubbish
(15 items)
 
  
CPUMotherboardGraphicsRAM
E7400 @ 4ghz 1.376v Asus P5Q3 Sapphire HD6870 Kingston 4GB DDR3 1333MHZ 
Hard DriveHard DriveOSOS
Samsung Spinpoint F3 WD Green Windows 7 64bit Lubuntu 64bit 
PowerCaseMouse
OCZ ModXStream 700W Cooler Master 690 II with side window Razer Deathadder Black Edition 
  hide details  
Reply
post #4 of 18
Thread Starter 
Perl to me looks like php, but a bit more complecated, linux scripting is soooo complecated, it doesnt seem related to anything.

and no I cant think of anything I want automated, im out of ideas for a scripting project tongue.gif

PHP projects I have loads, I just cant seem to come out with a Shell Scripting idea.
new rig 2011
(14 items)
 
 
Kylie Xeon 2011
(7 items)
 
CPUMotherboardGraphicsRAM
intel 3930k AsusTek Sabertooth x79 EVGA 580 GTX 1536MB Corsair XMS3  
Hard DriveCoolingOSMonitor
Samsung SSD 256 Corsair H80 Windows 7 Pro Dell 24" Ultrasharp 
KeyboardPowerCaseMouse
Logitech G110 Silentcoolpro 750 Antec  Logitech G500 
Mouse PadAudio
Dont be silly Creative X-fi Pro 
CPU
lenovo w520 
CPUMotherboardGraphicsRAM
Dell Precision Workstation W3500 Dell 09KPNV Nvidia Quadro 2000 Spam Ram 
Hard DriveOSMonitor
Western Digital Raid 0 Windows 7 Enterprise Dell 24" x2 
  hide details  
Reply
new rig 2011
(14 items)
 
 
Kylie Xeon 2011
(7 items)
 
CPUMotherboardGraphicsRAM
intel 3930k AsusTek Sabertooth x79 EVGA 580 GTX 1536MB Corsair XMS3  
Hard DriveCoolingOSMonitor
Samsung SSD 256 Corsair H80 Windows 7 Pro Dell 24" Ultrasharp 
KeyboardPowerCaseMouse
Logitech G110 Silentcoolpro 750 Antec  Logitech G500 
Mouse PadAudio
Dont be silly Creative X-fi Pro 
CPU
lenovo w520 
CPUMotherboardGraphicsRAM
Dell Precision Workstation W3500 Dell 09KPNV Nvidia Quadro 2000 Spam Ram 
Hard DriveOSMonitor
Western Digital Raid 0 Windows 7 Enterprise Dell 24" x2 
  hide details  
Reply
post #5 of 18
Quote:
Originally Posted by encrypter View Post

Perl to me looks like php, but a bit more complecated, linux scripting is soooo complecated, it doesnt seem related to anything.
IIRC PHP was originally loosely modelled on Perl. However the two do differ quite a bit when you start getting into the depths of the language.
Perl syntax can be a complete nightmare for readability though because it's a weird mash up of shell scripting and C-syntax.

I remember my first encounter with Perl script back in the 90s. I was editing a web project and the code had no indentations and a whole array of random characters. It genuinely looked like someone had come along and randomly mashed the keyboard lol. Thankfully these days it's evolved into quite a powerful and flexible language.
Quote:
Originally Posted by encrypter View Post

and no I cant think of anything I want automated, im out of ideas for a scripting project tongue.gif
PHP projects I have loads, I just cant seem to come out with a Shell Scripting idea.
Perl can be used for web development as well. So perhaps you could port some of your PHP sites to Perl?
post #6 of 18
Thread Starter 
I promise im not being sarcastic. I really enjoyed youre perl story!

But yes you are right I suppose I could use a bit of PHP and Perl, alto of our work scripts use perl. I guess ill be happy if I can understand whats going on, but I think my main goal is being able to code in a fluent form with Linux Scripting.

Thanks for your reply!
new rig 2011
(14 items)
 
 
Kylie Xeon 2011
(7 items)
 
CPUMotherboardGraphicsRAM
intel 3930k AsusTek Sabertooth x79 EVGA 580 GTX 1536MB Corsair XMS3  
Hard DriveCoolingOSMonitor
Samsung SSD 256 Corsair H80 Windows 7 Pro Dell 24" Ultrasharp 
KeyboardPowerCaseMouse
Logitech G110 Silentcoolpro 750 Antec  Logitech G500 
Mouse PadAudio
Dont be silly Creative X-fi Pro 
CPU
lenovo w520 
CPUMotherboardGraphicsRAM
Dell Precision Workstation W3500 Dell 09KPNV Nvidia Quadro 2000 Spam Ram 
Hard DriveOSMonitor
Western Digital Raid 0 Windows 7 Enterprise Dell 24" x2 
  hide details  
Reply
new rig 2011
(14 items)
 
 
Kylie Xeon 2011
(7 items)
 
CPUMotherboardGraphicsRAM
intel 3930k AsusTek Sabertooth x79 EVGA 580 GTX 1536MB Corsair XMS3  
Hard DriveCoolingOSMonitor
Samsung SSD 256 Corsair H80 Windows 7 Pro Dell 24" Ultrasharp 
KeyboardPowerCaseMouse
Logitech G110 Silentcoolpro 750 Antec  Logitech G500 
Mouse PadAudio
Dont be silly Creative X-fi Pro 
CPU
lenovo w520 
CPUMotherboardGraphicsRAM
Dell Precision Workstation W3500 Dell 09KPNV Nvidia Quadro 2000 Spam Ram 
Hard DriveOSMonitor
Western Digital Raid 0 Windows 7 Enterprise Dell 24" x2 
  hide details  
Reply
post #7 of 18
Linux scripting, are you saying shell scripting, like bash?
post #8 of 18
Quote:
Originally Posted by herkalurk View Post

Linux scripting, are you saying shell scripting, like bash?

He did say Perl in his opening post thumb.gif
post #9 of 18
post #10 of 18
Quote:
Originally Posted by Plan9 View Post

He did say Perl in his opening post thumb.gif

Perl isn't a shell, it's a programming language, bash and ksh are shells. tongue.gif
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Scripting a bit of fun...