Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested Shell Scripting Solutions: 51 - 75 of 263
 
How can I automate to get the fcmsutil of each fiber channel connection into script. I nee to get information on 100 servers server1:>ioscan -funC fc Class     I  H/W Path  Driver S/W Stat...
I'm wanting to pass more than 9 variables into a unix shell script. When obtaining $10, I get $1's value with a 0 appened to it. Anyway to pass more variables without going to the extreme of $...
Dear experts, Please help me creating a bash/ksh shell script which will create some directories to a three different paths /x/y/z /a/b/c My reuirements are 1. The script will run ...
Hello, looking for a solution to this problem: basically i am looking for it to upload the latest SQL backup to a website so i can set it as a scheduled task, i want to keep it simple with ...
hi how to tar from local machine and untar in to remote machine. how to make tar file. give me good solution for that. Parlepoint
Dear experts, I have a sql scripts that I need to execute inside a ksh on Unix AIX as part of a automation project. but I'm keep getting the following errors. Any advice? >:$ onhold.sh SP2-...
I need to do this: Copy all files that end with "_15.dat" from path : "c:\local_data\" to a new network drive "T:\remote_data\" Can I use xcopy to accompish this. And how can I write to the ...
I have a system with 200+ print queues that appears not to be using DNS but /etc/hosts instead. Does anyone have a script to create a list of print queues with their corresponding print server...
Hi, Add a user/group to all machines Administrator group. We have changed the names that we are going to use to login to machines. I need to add 5 names and 2 groups to Administyrator gro...
How do i get the user GID and UID in unix programming in C???
Hi experts,                i have an issue with running a java file from a unix shell script. The java file i am running is part of a jar file. The java file takes 2 args. The windows equival...
Hi guys! We use rclient a lot at our work to do this remotely from a command line. Basically we do the following: If we have to perform a remote function on remote pcs, we do the follow...
I am looking for a piece of ksh or bash script that does the following: 1.  Determine if a specific file exists in the local directory 2.  If the file does not exist, exit the "if statemen...
I have a Korn Shell Script which is in its beginning stages.... so far all i do is create an XML file at a location set in my config file....and then call a java application. I would like t...
Dear experts, Please help me creating a bash/ksh shell script which will rename all .txt and .TXT files to .csv file in a particular directory and with in it's sub directories. Thanks in...
I am new to perl, currently I am getting 'SP2-0310: unable to open file' error. what I am doing is to pass 3 arguments to SQL file: code looks like this: Perl code: sub call_sql_script { ...
Let me preface - I'm somewhat new to the Unix world. I am trying to run a Shell script upon boot on some Solaris 10 Systems but I need the scripts to execute in the backgroud as specific us...
I have a shell script that contains the following command rsh <ip of machine> free > abc.txt This shell script I  am running from Linux and it works fine.    However if I am running this f...
Hi experts,                 i have a .cmd file n need to convert the same to a shell script. The .cmd file is pretty simple. All it does is sets a few jars to the classpath and calls a Java P...
Here is what I want: I am new IT person in my new company and one thing that I don't like here is that many users have admin privilegies (they are members of local administrator group). So ...
Can you write Unix/linux shell  (bash) script and name it deploy so that when I type deploy inside the terminal on my local desktop pc (which is also linux -- fedora), the application is compi...
hi guys.. i want to use alias value in script but i am getting error .. $ alias eb='-================================ WARNING! ====================================' history='fc -l' inte...
Hi, I have been give a task to collect the usage stats from multiple virtual hosts we have on linux web server and put the summary of the data into new text or excel spreadsheet. Below is t...
Im pretty new to window scripting, but im a decent VB coder. Im trying to create a .vbs script that i can link to task manager and run periodically. (once a week maybe) I need a script that ca...
On our network, we use a .bat file to map network drives and set network time for all our users.  On a handful of machines over the past several months, the .bat file has been failing to map d...