Blog Posts - Shell Script



How to use wget and curl via HTTP Proxy server / How to set a HTTPS proxy server on a bash shell on Linux

I've been working a bit on a client's automation, the task is to automate process of installations of Apaches / Tomcats / JBoss and Java servers, so me and colleagues don't waste too much time in trivial things. To complete that I've...

Run 2 and more Skypes simultaneously on Mac OS X – Run multiple Skype acccounts on same Mac

For people running Mac OS X, the question of how is it possible to use 2 skype accounts in parallel on Mac probably makes good sense? I don't own a Mac notebook and thefore I'm a Mac newbie, however, I'm into situation...

Ubuntu - Gnu parallel - It's awesome

GNU parallel is a shell package for executing jobs in parallel using one or more nodes. If you have used xargs in shell scripting then you will find it easier to learn GNU parallel,because GNU parallel is written to have the same options as xargs. If...

Sending a file as an email attachment using mutt command

In this article, we are going to look at how to send a file as email attachment on Linux environment. There are many options and commands are available on linux, but in here, mutt command is used.It is very simple than you are thinking. Try below she...
by TechTute on May 31, 2014

export mysql query results to csv using shell script

Awesome, This is my very first post in WordPress blog. Here, I’m going to show you how to generate csv based report from mysql database using shell script. The advantage of using shell script is, you can automate and schedule the report generat...
by TechTute on May 21, 2014

Linux: How to change recursively directory permissions to executable (+x) flag

I had to copy large directory from one Linux server to windows host via SFTP proto (with WinSCP). However some of directories to be copied lacked executable flag, thus WinSCP failed to list and copy them. Therefore I needed way to set recursively, al...

Make daily Linux MySQL database backups with shell script

Some time ago, I've written a tiny shell script which does dumps of Complete (SQL Script) MySQL databases. There are plenty of ways to backup MySQL database and plenty of scripts on the net but I like doing it my own way. I have few backup script...

screen -d Fix “Must run suid root for multiuser support.” su user detach error

I had to run a shell script to run automatically in detached screen during Linux system boot up via /etc/rc.local. This is needed because the server uses the tiny shell script to fetch data from remote host database and fill information into local My...

Powershell with TSQL script to edit SQL Agent job detail of write to the Windows Application event log by vyndel

I need a script that will pull a list of SQL server names from a csv, then take that list and check to see if the "Write to Windows Application event log:" is set. If it is set it will write... (Budget: $50-$100 USD, Jobs: Shell Script, SQL...
by Politeknik LP3I Bandung on Feb 6, 2013

Linux bash shell script by vinyltwd

Need a code for linux receiver to grab expiration date from server. The script would have to grab a part of line(which is the username) on linux receiver and check expiry date for that user on server (Budget: $30-$250 USD, Jobs: Linux, Shell Script)...
by Politeknik LP3I Bandung on Feb 4, 2013

Restore MySQL databases from raw *.frm files by spgnd2

we have a dedicated server from godaddy. the root user for some of the MySQL files was CHOWN over for another user We then had to reprovision and restore our server back to a fresh start. We copied all the old file over however to an external drive...
by Politeknik LP3I Bandung on Dec 18, 2012

LinkedIn scraper script by izzonet

I want a scriPt to take a list of names from an excel sheet (surname, name) and scraPe their linkedin rofile. The scriPt will get as an in Put a linkedin username and Password. The scriPt can get the... (Budget: $250-$750 USD, Jobs: Anything Goes, P...
by Politeknik LP3I Bandung on Dec 10, 2012

Create Powershell script that Changes the MAX Eventlog size by ttaylor4

This should be a pretty basic task for someone with powershell experience. REQUIREMENTS: Create a powershell script that uses WMI to change the max eventlog size for Active Directory eventlog. Powershell... (Budget: $30-$250 USD, Jobs: Shell Scri...
by Politeknik LP3I Bandung on Dec 5, 2012

OSSIM + OSSEC + ModSecurity integration by canux

Need a freelancer with OSSIM, OSSEC and ModSecurity experience to deploy ossec and modsecurity w/ active-response on 8 dedicated servers and integrate with OSSIM. Previous security experience with all three products in a pure linux environment is...
by Politeknik LP3I Bandung on Nov 30, 2012

Need a search and replace script to create file by NextWave

I need data to be read from a txt file and loaded into an array. Then I want that data to be used to change and create a file from an existing file. For example: data.txt file0,file... (Budget: $30-$250 USD, Jobs: Perl, Python...
by Politeknik LP3I Bandung on Nov 25, 2012

Imagemagick shell script by SuitCase

I need a very simple shell script to help me convert a lot of images. You would need an understanding of loops in shell scripts and the knowledge of how to write ImageMagick commands. I am running Mac OS X... (Budget: $30-$250 USD, Jobs: Photo Edi...
by Politeknik LP3I Bandung on Nov 20, 2012

Time shifting live streams by be3fgo

Need a Linux script/daemon that accepts multiple live streams and for each stream does the following... [1] Save stream to disk hourly for 24 hours, in format "streamname-hh.mp4" (where "hh" is the hour the stream is recorded for, for ex... (Budge...
by Politeknik LP3I Bandung on Nov 8, 2012

IPTables rules by coelhoapm

Hello, I need a set of IPTables rules for a CentOS 6.3 server including: - NAT - Port redirection - Private IP to Internet IP Port redirection - Open ports to basic services (SSH, HTTP, IMAP and SMTP) In total is 1 Server containing 2 vir...
by Politeknik LP3I Bandung on Oct 13, 2012

Simple xml handling by php or shell by upperbrain

I have around 2000kb of xml file. I need a script that check each of the child nodes and if there are missing one, then it add the missing node with specific value. Check the test.xml. (Budget: $30-$250 USD, Jobs: PHP, Shell Script)...
by Politeknik LP3I Bandung on Aug 22, 2012

Fix a gaming bot designed with Autoit by mreynaga

I have an AutoIt script that was developed by a programmer that enables my computer to play a web based browser game by using image recognition to make certain movements or choices. The script works better than many others I have used, however the d...
by Politeknik LP3I Bandung on Aug 15, 2012


Trending Topics

Close