Search Results

Search: Posts Made By: shubhig15
10,937
Posted By shubhig15
FROMDIR=/root/test/data TODIR=/root/test/data1 ...
FROMDIR=/root/test/data
TODIR=/root/test/data1

data directory contains file tmp_2.0_20101208_34.xml and data1 contains file tmp.xml.I want to move tmp_2.0_20101208_34.xml file into data1 folder...
10,937
Posted By shubhig15
how to overcome this type of error.
how to overcome this type of error.
10,937
Posted By shubhig15
Thanks..I tried to run this code but i found...
Thanks..I tried to run this code but i found error in mv command like
mv:can not stat `:no such file or directory

one thing i write to forget i have to also change the date with number.It means...
10,937
Posted By shubhig15
write shell script to rename file
hi,
I need some help in writing shell script in a bourne shell.I am trying to rename the file..
eg.
find /root/data -type f -name "text*) | while read FILES
do
...
7,436
Posted By shubhig15
thanks..but from this code can be change the name...
thanks..but from this code can be change the name of file from tmp_2.0_20101208_45.xml into tmp.xml...

---------- Post updated at 01:22 PM ---------- Previous update was at 12:44 PM ----------

...
7,436
Posted By shubhig15
(After copied this tmp_2.0_20201208_45.xml in...
(After copied this tmp_2.0_20201208_45.xml in config folder name is changed again as tmp.xml file.)
7,436
Posted By shubhig15
thanks..i dose not want code in perl..i want...
thanks..i dose not want code in perl..i want shell script in c
7,436
Posted By shubhig15
copy and rename file..
hi all,

I have one config folder and updates folder.updates folder contains file tmp_2.0_20201208_45.xml and config folder contains file tmp.xml.When the tmp_2.0_20201208_45.xml file is copied in...
2,076
Posted By shubhig15
hi..i want to know where i should write this...
hi..i want to know where i should write this code..
ln -s S99script-name /etc/rc.d/init.d/script-name
should i write this code in my shell script and save the script name as S99script1.sh..and...
2,076
Posted By shubhig15
thanx for reply me.But i am not getting this...
thanx for reply me.But i am not getting this line"you would need to create a link to your script in /etc/rc.d/init.d/script-name that starts with a capital S and two digits."I don't know how to...
2,076
Posted By shubhig15
run script with booting process
hi all,

I write a shell script which search file in particular folder and copy another folder.after that i compare two folder if file did not match then copy file from one to another folder.Both...
968
Posted By shubhig15
My file name is tmp_2.0_20101202_45.I used...
My file name is tmp_2.0_20101202_45.I used search command to find this file in particular folder but i can acess only tmp_2.0_20201202 part..not _45.how to read this _45.Iwant to read whole file...
968
Posted By shubhig15
search file with sring
hi all
i have a problem how to search file which containing number number with file name(tmp_24).
3,253
Posted By shubhig15
write shell script to search file in folder
hi ..
i have a problem how to search file with date and version number(ms_2.0_dd/mm/yy_24)in folder.Here 24 is version number and compare the this file to other file which is in another folder and...
1,931
Posted By shubhig15
Write shelll script to read file location
hi all
i have a problem how to read file location..I read file as FILE=/home/tmp/new.file.but t is not useful for me.But i want my script read file location where the file is and copy in directory...
5,742
Posted By shubhig15
how to delete files at booting of system (system startup)
hi all
I have a problem how to write a shell script which delete files/folder form directory whenever system boot and copy last updated folder/file in the specified directory.pse help me ASAP.
i...
Forum: UNIX and Linux Applications 11-09-2010
1,251
Posted By shubhig15
how to send config file to other application
hi..
i have one c++ pgm which run shell script.shell script reads username and password from file.This pgm check username password is correct or not.After checking this i want to send config file...
866
Posted By shubhig15
how to send config file to other application
hi..
i have one c++ pgm which run shell script.shell script reads username and password from file.This pgm check username password is correct or not.After checking this i want to send config file of...
Forum: UNIX and Linux Applications 11-09-2010
1,498
Posted By shubhig15
how to send config file
hi all
please give me some idea about how to send xml file from one c++ pgm to other pgm.
1,815
Posted By shubhig15
how to send config file
hi all
please give me some idea about how to send xml file from one c++ pgm to other pgm.
Forum: UNIX and Linux Applications 11-08-2010
3,336
Posted By shubhig15
how to write a config file in xml
hi all,

please give me some idea to write a config file in xml for username and password data.
2,275
Posted By shubhig15
how to write a own config file in XML
hi all,

please give me some idea to write a config file in xml for username and password data.
4,500
Posted By shubhig15
Compare two strings
hi..
i have a problem to compare two string
my code is like that
if [[ ($1 = $username1 && $2 = $password1) || ($1 = $username2 && $2 = $password2) ]]
then
echo "both data are correct"
elif...
2,113
Posted By shubhig15
how to read blank spaces
hi
i have a file which store some data.the contents of my file is
data1:data2
data3:data4

i have a script which read this file
correct="$(cat /root/sh | cut -d: -f1)"
i used this...
5,120
Posted By shubhig15
how to remove blank spaces in file
hi
i have a file which store some data.the contents of my file is
data1:data2
data3:data4

i have a script which read this file
correct="$(cat /root/sh | cut -d: -f1)"
i used this...
Showing results 1 to 25 of 28

 
All times are GMT -4. The time now is 10:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy