You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Scripting can be fun

Author (Read 2009 times)

0 Members and 3 Guests are viewing this topic.

Re: Scripting can be fun
« Reply #3 on: November 24, 2015, 07:18:22 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8777
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Scripting is one of the main reasons I feel so liberated on linux systems. I can't tell you how many scripts I have automating tasks on my pc right now, one to pull in EPG data for my tv card, compiz config script, conky script, to name a few. I encourage all folks to at least try their hand at learning how to write basic bash scripts.
 

Re: Scripting can be fun
« Reply #2 on: November 24, 2015, 07:10:47 AM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
WOW !!!

Great find misko!  And yes, it does serve as inspiration to learn more scripting.
Try Linux Beginner Search Engine for answers to Linux questions.
 

Scripting can be fun
« Reply #1 on: November 24, 2015, 04:40:50 AM »
 

anon222

  • Muted
  • Gold Level Poster
  • *
  • 688
    Posts
  • Reputation: 192
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
I hope this will inspire people to learn scripting. Simple scripts like these can speed up things and make life easier. Last one is a winner :)
Code: [Select]
xxx: (and the oscar goes to) ****ingcoffee.sh - this one waits exactly 17 seconds (!), then opens an SSH session to our coffee-machine (we had no frikin idea the coffee machine is on the network, runs linux and has SSHD up and running) and sends some weird gibberish to it.
Looks binary. Turns out this thing starts brewing a mid-sized half-caf latte and waits another 24 (!) seconds before pouring it into a cup. The timing is exactly how long it takes to walk to the machine from the dudes desk.
https://www.jitbit.com/alexblog/249-now-thats-what-i-call-a-hacker/
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section