Already purchased the new Motorola Droid? We want to hear from you! Tell us what you think about it and Google's Android 2.0 software.

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Top bash Solutions: 1 - 25 of 60
 
I am new to bash scripting and linux. I have a bash script that I have been working on that will take a path to a dd disk image file and pass it into fdisk to parse out some information. The i...
Hi there, using the script described <a href="http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/bash/Q_24693599.html ">here</a> I receive a date/time in the following form...
Hi, I have wrote a script in bash which shows the status of the unix services as up or down depending on output of snmpwalk command. Basically when the output of snmp command is 0 the servi...
Hi, I am working on a project in which I export pictures onto a server. I need te 'register' the jpg's in a mysql database on the server with the picture taken date/time from the exif data. ...
Hi I want to concatenate a string and a command output in bash i.e. x = 'hi' y=date echo 'x + y' it should give me the output of date concatenated with the string 'hi'. Please help
I have a problem with this line :           if [ $usreInput == $i ] $usreInput and $i are always numbers and I echo them but the == sign always true even if the numbers are different $whoOnl...
I am using apache as web server and jboss as app server. There is  a pdf download which works fine in firefox (over https) but not in IE , where it gives error File could not be written to c...
Hello All, I am trying to write a simple (I think) Expect script to log into a router and change an access list. The access is quite large and the content changes daily, mainly the IP address...
I have provided some pseudo code below. I'm asking for a bash-script that will check if the necessary modules are loaded, and if not ask for root privileges and load the modules, the promptly...
Hi! I must create a system of communication between several nodes and a server. Instead of creating a new system of communication I've thinked it must be possible to connect with a simple b...
Need to pass two values MAC and IPv4 to an array, look code below.
I am making a bash shell script that should look for files in a directory then upload them to an ftp server and move the original file to another directory. It should ftp then move all fil...
Hi, where am I going wrong? I am trying to replace ".jpg" with ".Thumb.jpg" for every filename I loop through the script. Thanks
Hi All, I need to write a script in back in linux that sends an email to a particular recipeint email in case a certain process on the linux box stops working. Eg, in ps -ax we have a pr...
Currently having a bit of fun getting this simple scipt to work and thought someone could show me why my syntax does not work. Simply what I am trying to do is just rename all files within ...
Hi, I'm trying to use a script to batch rename a bunch of files.  The file names are in a 2 field file separated by a comma, e.g. my file1, my file2 The file names contain a space as ...
i uploaded photos in multiple folders, and some folders had .ini extensions. i would like to delete these from shell console, but am frankly too lazy to find out which command to do it. i beli...
Hello I would like to make real-time log monitoring script I would like to remove the the file : /home/user/public_html/cc/.wysiwygPro_edit_* (note : "user" and "/cc/.wysiwygPro_edit_"...
I need a simple program to list a particular row from column against all of column 2? Linux Bash shell would be okay. for example,               column-1    column-2 row1       a1        ...
I have a bash script where I need all output (not input) logged and also shown on screen. I'm using the following command to log to syslog: "logger -t script-name log message" I know I'l...
Is there a way to read a file that is actively being written to?  I have a script that is running a program and writting data to a log file, every 1 second.  I have another script that is goin...
Hi, I have a text file with about 20-30 thousand lines of data. I need an awk script to be able to search for the text "SUBSCRIBER LIST" and delete one line above it, the line that has the   t...
Hi, I have a lot of images in  /var/www/vhosts/youthfest.co.za/httpdocs/randimg/ that I need to resize to max 90x90 pixels (maintaining their proportions) I have ssh access to the virtualisa...
Whats the best way to search and replace using bash? I have a public html folder with folders inside and i want to search for the string "this" in all files and sub folders and remove it.
Does alter table table_name rename partition partition_name to new_partition_name move data from the old partition to new partition? How do you rename index partition name, is it possible?