A few facts about scripting language and Why you need to know about Scripting

coding, computer, hacker, hacking, html, programmer, programming, script, scripting, source code, Free Images In PxHere

Is scripting being used in automation?

Scripting can be a powerful tool for anything in the industry from building cars to even creating orders to ship.   Each one has a specific reason to be there,  in all there are many reason why it makes it easier for the user to have scripting.   I know in my life, scripting can be used in many different reason.   For one you could have a PowerShell script to automate a process to wake the daemon or make a service synchronize a service.  In all even in the Microsoft world there are services that need to be restarted or maybe just synched due to the daemon not keeping up.   Having seen this and having to do it from time to time or even create a script to run every hour to keep the what ever might need to be synchronized up to date.   Is that something hard to do or easy, the real questions you should be asking yourself is can you really do it and not make any mistakes?   After all, we are human and bound to make a mistake or two.   So we have to at least consider how any script will affect us in the long run.    Scripting can definitely make certain tasks so much easier when something arises that needs to be done to a server or even process.

What are the options for a script?

Before we begin the options we have to at least consider why scripts are so vastly different from applications.   The short answer is that they can’t do nearly the things applications can because they aren’t integrated into the kernel or there might be processes that the script can’t do without SU permissions and programs can have SU permissions and run in the background without any need for verification from the user.  Now let’s at least talk about the options for what a script  be used for or how we should at least consider it to be used.   First and foremost is to restart a process, and this one is the most common I have seen in the past.   I used to have to restart the Xorg services or drivers due to how the applications caused it to crash for one reason or another in Linux.   This was definitely when the drivers for Nvidia and AMD were still relatively new to the Linux environment.   It would on occasion need to be restarted and people started to have script to use to do that so they didn’t have to write the same codes down each time to restart the service.  This was truly cutting edge for Linux to be able to use a script to restart the graphics drivers and allow the user to continue to use their computer.   Another good option for tasks that can be scripted is downloading files that you might use for Windows and have them update with newest version as they are coming.  You could even create a script to download all the Windows Updates on Linux just like you can on Windows to be able to install them offline if the need arises.

Scripts are just Amazing!

As you can see, I really do love to use scripts and have in the past come up with scripts that can be used for the people who use Linux or might need a script for a certain situation.   Each person can come up with some truly amazing scripts to share with others to help make working in the Linux environment even more better for everyone.  Do you agree or disagree?  Do you have a favorite script you want to share with others?  why not leave a comment and let people know your script and tell them what OS it can be used on.   I am going to link a few good useful bash scripts to let you explore even more.

 

Backing up in Linux is so easy!

Why Do I need to back up in Linux?

This is something near and dear to my heart because of just how important it is to back up you important data.  I’ve already talked about backup before but I never really thought about back up for Linux until recently.  Let’s face it when you came to Linux, you probably didn’t think you would need to back but you really do.   I learned the hard way on this.   My Story so others can learn from my mistake, I have been working on a big database for to keep track of who comes in and what they usually order but I had a problem today, and thought I had backed up my database before I re-installed the Linux distro.   In reality, I didn’t actually.   I wasn’t happy when I found out that the Database wasn’t their after I had wiped the drive and re-installed.

Are you ready for a Disaster?

I ask that because I know I wasn’t ready and I know most of you are probably the same way.   You probably didn’t even think about backing up in Linux.   I am not really worried about backing up the distro but to back up the important data.   I wanted to share some of them with you and so you can update yours accordingly.   So here are a few good Ubuntu/Kubuntu back programs:

  • KBackup — This is the one that I am using right now but will be looking for a way to do offline back up in the cloud. (apt-get install KBackup)
  • Simple Backup Solutions — Another one that I have found that will be playing with later on this month.  (apt-get install simplebackup)
  • fwbackups — This is one of the more easier backup programs, that can do single and scheduled backups.   This might be the one for me but only time will tell.  (apt-get install fwbackups)
  • Amanda — If your have several different clients who need to have offsite backups this would be one way to do.   Allows you to have mulitple backups to a single server.   This might be good for my clients, will have to look into this one.
  • And more . . . . . .

There are even more out there but these are the ones that interest me and I thought they would interest your also.    I will look online for some cloud storage later on this week.   You should always have more than one backup plan.   I always like the Rule of 3’s when it comes to backup:

  1. In the Home
  2. A pen drive
  3. Off site

It’s time to change

If you haven’t already started a backup plan for your Linux machine, it is always time to change.   You probably have something you want to keep and not lose.   You could have Pictures, documents, and client information that you need later on.   So what are you waiting for?

I’m backing up Now!!

Paul Sylvester

With Linux, All you Really need is Google!

Linux can keep you sane!

I don’t say that lightly because today, I was going to use Linux and all of the sudden I couldn’t get past the Kubuntu splash screen.   It would just hang their not doing anything else.   I didn’t know what was going on, if you have seen the look on my face you would of know I was scratching my head.   The obvious question though is what happened, that I was asking myself.   This isn’t something that I am new at, but it was something I’ve never dealt with because when I was using Linux in the past it was always for leisure and not something that I used regularly.   Now that being said, I have begun to use KDE and Ubuntu more and more.   I find the open source community really intriguing and I am wanting to learn.

Keywords are the key!

When you have a problem with Linux, all you really need to put the right description of the problem into Google,  and you’ll find the answer eventually.  Now I won’t say this hasn’t been a learning experience, because recently I bought a book to better help me to learn more about Kubuntu and Ubuntu called “Beginning Ubuntu Linux“, So I will be reading up on how to handle the operating system more and more and being able in the future to help others with the same problem.   If you haven’t gotten a book, I’d start there like I am.   I will do a review of the book later on when I get done reading it from cover to cover but for right now it will be a handy tool.

Solution to my Problem!

This solution that I will be talking about might not work with you but at least it will point you in the right if doesn’t work.  I first searched several different forums, the Ubuntu Forum and the Kubuntu Forums for the answer using Google I might say.  After much searching I found a topic about updating and Graphics stop working and talking about the xorg not starting.  Which in turns lead me into the other topic Just Updated, Graphics have stopped working and thus lead me it how to fix my problem without having to wait till I could get a Pendrive from my house to fix the problem.  If you are looking for the solution here it is:

Go into Recover Mode

Go into the Terminal — I couldn’t even boot into the GUI safe mode
apt-get remove xorg-driver-fglrx

That wasn’t all I did, I also did

apt-get autoremove

This was just in case I missed something.

I was messing around with fixing the KDE4D bug where it would freeze up everytime I would disconnect from the VPN and so I edited the

sudo nano /usr/share/kde4/services/kded/networkstatus.desktop

I then changed the true to the false

X-KDE-Kded-autoload=false
X-KDE-Kded-load-on-demand=false

I thought that might also be the problem so I changed that back to true.   Any ways, after I did all that, I got my Kubuntu to come back to life.   I don’t know necessary understand what happened but I did fix it.   I did however find a good work around for that bug for the time being.   Just install KNetworkManager and it will automatically remove the plasma-widget-networkmanagement. So Now I don’t have to worry about the system locking up and not being able to do anything.   I do hope they fix the Plasma problem in the coming updates but I will just have to wait see.

Go Linux

Paul Sylvester

Simple Flickr Uploading with Postr

postr_scaled.png

Linux only: Applications like jUploadr are great for posting photos and editing photosets in the photo-sharing website Flickr, but its Java core can make it slow and wonky for some users. GNOME-based application Postr is a streamlined posting solution that features drag-and-drop file choosing, tag and description editing and, most of all, a clean, simple interface. Postr is a free download for Linux systems and available in many repositories. KDE-based Linux users can also check out Kflickr.