1,891 Topics
| |
Hi, I need to search a large Directory Path and count all the characters(Even filenames with space and special chars, etc.) in it. Example: /data/general\Customer_Order_Files\Pump_Files\Pump_Open_Files\1217697 METSO MINERALS HITACHI AMERON DUCK CREEK\1217697 MOTOR INFO METSO MIN HITACHI AMER DUCK CREEK 10-3-06\1217697 Motor Quote SIEMENS METSO MIN HIT AMER DUCK CREEK 10-16-06 … | |
Hi, I'm new to shell scripting. Can someone please suggest me some syntax to move files from directory A to directory B using shell scripting. Also the programme should have 2 parameters and based on the parameter values given while executing, the programme should check the file names in directory … | |
[code] Hello, I need to search from a text file all those number from the lines which which lie in the range 1 to 120. Say I have a file with number: 1 2 3 900 1200 so on... I want to only those lines which has numbers in the … | |
I am new to awk, so please excuse any mistakes. I was hoping someone would be able to tell me if it's possible to include variables in a regular expression, and if so, how. The code I currently have is the find the beginning of link (<a) and image (<img) … | |
Hi, I am fetching the record from database using isql in Korn Shell Script. [code] result=isql -U -P -S << EOF select * go EOF` [/code] I got the result. but Iwant result in proper format. i.e [code]field1= field2= field3[/code] I am considering the result as ARRAY and trying to … | |
is it possible to create a script in windows to automatic email you if nessesary and if so what would be the best way to go about it. | |
Hi I am trying to write a script that converts centigrade to fahrenheit and vice versa I need to use a sub-function to perform the calculations. Can anyone help me get started on this I am kinda lost and will like help learning this thank you | |
Hi All, In my network setup all our UNIX/Linux Servers are standalone.So when a user joins i have to create a user account in all the servers. I will be using the same user acc to create the user account across servers So if you can guys provide me a … | |
I have two program problems: a program that generates this file writing zeros for PID and TIME and random numbers in the 8 pozitions of the DATA field. and program that will create at least 3 child processes, each of which will repeat at least 10 times the following operations … | |
Hi Everyone, I have the data like below in CSV file Column1,Column2 A,3 A A,4 A L,5 AIM,6 If i sort the above mentioned date in excel, here is the sorted output: Column1,Column2 A,3 A A,4 A L,5 AIM,6 But if i tried to sort above data by using Sort … | |
Hi all; I have a file that i need to sort and batch with certain criterias. For every 5 lines that meet the criteria i need to add '1' above it to separate it with other batch. The original file look like this: 20080201A300000357701 80058+117.06 02 20080201A300000357701 80058-117.06 02 20080201A300000382309 … | |
I need some ideas: The called program gets as parameters two or more integers and and returns 0 if all pairs of two are relatively primes, and 1otherwise. The callee shall read a sequence of numbers and tell whether they two by tworelatively primes. | |
I am using solrais 10 on sun sparc. The following command executes successfully echo c:/test.txt | sed -e 's/\//\\\//g' But when i executes the following command x=`echo c:/test.txt | sed -e 's/\//\\\//g'` I get the following error [B]sed: command garbled: s/\//\\//g[/B] Is there any way to avoid this error. I … | |
HELLO i HAVE A SCRIPT THAT TAKES INFORMATION FROM 2 FILES AND PUT IT IN ONE, NOW I NEED TO PUT ALL THE INFORMATION(OUTPUT) INTO A NEW FILE , THIS IS HAS TO BE DONE IN THE ORIGINAL SCRIPT NOT COMMAND LINE, CAN ANYONE TELL ME HOW TO DO THIS … | |
Hi, A tool is run just by the command "adutool" from anypath inside the same server. This command will execute the script in the folder "/myfolder/bin/adutool" on the same server. Since "/myfolder/bin/" is setenv'd in the PATH env variable, it runs the tool. Now my question.. Is there anyway of … | |
Being given a text file create a folder that will contain 26 dictionary files as follows:first file contains the words begining with 'A', alphabetically sorted, the second file with 'B' and so on. The way I tried to solve it is attached...pls help! | |
Hello, I have a project that I can build with a script. I'd like to add version number + release number to my builds. I'm looking for a way to do it automatically. As a result I'd like to get something like that: [inlinecode]\deployment\v1.2.3\some.exe[/inlinecode] When I run exe I'd like … | |
HI All I have a script which counts how many times a job has failed. For some reason my echo $list wont work in a variable, it works if i dont put it in a variable, but i need this in a variable so i can do a grep -c … | |
Hey I need some with help this... I'm writing a script that will display, "date and time, how much memory and HD is used, plus display the type of processor info and temperature of the CPU". Then redirect the output back into the script. I found everything what the teacher … | |
Hi Can anyone help on how to add passwords to already created users non-interactively in shell script. Passwords will be stored in one text file. Script should automatically take passwords from file. Thanks in Advance Vishwajit | |
I need some help with this: I want to compare 2 files, and get an output file with only the new lines of File2 (compared to File1) I didnt manage to do this with diff, any suggestions how to solve this? Example: File1: A B C File2: A B C … | |
HEY, I am new at this but I am in a middle of an excercise for an online class I am taking and I am doing a exercise and I am stuck. the instruction are as follow : write a shell script that will take information from 2 fles and … | |
Hi i m devloping one intratnet appllication for that i want some hardwre information like memory type,memory bank, BIOS information. I have no rights login as super user. if anybody has any idea for that plese give me reply. | |
Comparing two variables -------------------------------------------------------------------------------- Script #!/bin/sh hardware=PC os=WindowsNET for i in `cat newservers` do x=`sudo /opt/openv/netbackup/bin/admincmd/bpplclients |grep $i |head -40 |grep $i|awk '{print $3;exit}'` if [ "$i" -eq "$x" ] then echo "$i is already added" else echo "Need to add" fi done O/p in debug mode bash-2.05$ sh -x … | |
Please help!!!! ok the first file is this dave 734 bob 313 carol 248 mary313 ted248 the second file is bob tuesday carol monday ted sunday alice wed dave thurs the output has to be name on call phone carol mon 248 bob tues 313 alice wed etc... i need … | |
I got 2 fiels with information on both i need to put the information all in one file useing loop. how the hell do I do that, I have 2 files one named p21 the p22 and now in a looping structure i need to print an output of thei … | |
I wants to get the Bios information in linux It is possible by [B]biosdecode[/B] and [B]dmidecode[/B] But they need login of super user so i am not able to run them on Rad Hat Linux I am using. Is there any other command to get Bios info, or any script … | |
HI i AM TRYING TO WRITE A SHELLS SCRIPT THAT WILL TAKE INFORMATION FROM 2 FILES AND COMBINE IT INTO ONE FILE USING LOOP, NOW i AM STUCK i GOT THE 2 FILES ONE IS NAMED DATE THE OTHER IS NAME THE DATE FILE CONTAINS PEOPLES NAMES WITH A A … | |
How I can know OS details,cpu details and the running processes of a remote machine without logging that machine. | |
Hi, I have a list of data in text files with :- ColA ColB ColC ColD ColE ColF 12 122 2280 30 0.012987 1.776 13 118 2280 30 0.012987 1.954 14 115 2620 30 0.011321 2.131 15 113 2654 30 0.011177 2.309 16 145 1882 25 0.013110 2.487 17 112 … |
The End.