Search Results

Search: Posts Made By: vel4ever
1,048
Posted By vel4ever
Iteration in perl
How to iterate the contents in below file using PERL?

url.txt
...
3,540
Posted By vel4ever
Thanks for the info Ice. I do not have more time...
Thanks for the info Ice. I do not have more time to complete this with advanced scripting and i can't revisit my requirements at this stage. Let me proceed with 'cat' for now at least.
3,540
Posted By vel4ever
Ice, Do we have any other options to get the...
Ice,

Do we have any other options to get the stream data to feed the perl script?
3,540
Posted By vel4ever
Report generation using perl script
Hi,

I have a perl script to read the log file and create a report from it. I have the script file and log file in a different directories. Now i have pipe the log file data to the perl script to...
Forum: IP Networking 07-06-2013
3,632
Posted By vel4ever
Citrix server is on the outside network. How to...
Citrix server is on the outside network. How to identify if firewalls are blocking the requests?
Forum: IP Networking 07-06-2013
3,632
Posted By vel4ever
Unable to access web application hosted in same network
All,

I have various web applications hosted in a client network. These web apps are accessed through a Apache web server.

We have deployed a new web application server and it is not serviced...
2,560
Posted By vel4ever
How to call a bash script with positional parameters?
Hi,

I have a script which will be executed using the below command,


bin/nutch crawl urls -dir /data/test/

bin/nutch - Script file
crawl, urls, /data/test/ - Parameters
-dir - Option
...
7,546
Posted By vel4ever
Thanks alister and RodiC. It works as per the...
Thanks alister and RodiC. It works as per the changes you have suggested.

---------- Post updated at 03:43 AM ---------- Previous update was at 03:41 AM ----------



Thanks for the program. I...
7,546
Posted By vel4ever
I have done it, but same output. It doesn't work ...
I have done it, but same output. It doesn't work


tr -s '[[:space:]]' '\n' < urls.txt | split -l 1 urls.txt new
7,546
Posted By vel4ever
Split file into multiple files using delimiter
Hi,

I have a file which has many URLs delimited by space. Now i want them to move to separate files each one holding 10 URLs per file.


http://3276.e-printphoto.co.uk/guardian...
2,438
Posted By vel4ever
Error : No such file or directory
Hi,

I have issued the below command to remove directories under a specific path, it removes them fine. But atlast it tries to
find the same directory and fails.



Directories:
/root/app/dir...
1,366
Posted By vel4ever
Thanks. I have done it using below ...
Thanks. I have done it using below


s=/home/data/test/run
d=/home/data/test/run/ht/WEB/HTML/
o=`echo $d | grep -o "/ht.*"`
o="$s""$o"
echo "Directory path "$o


---------- Post updated at...
1,366
Posted By vel4ever
No, i just want to populate a string using the...
No, i just want to populate a string using the path 1 and path 2 provided.
1,366
Posted By vel4ever
Construct path
Hi,

I need to construct the below path from the two available directory path,

O/P

/home/data/test/run/ht/WEB/HTML
/home/data/test/run/ht/WEB/JSP
/home/data/test/run/ht/WEB/CSS
Path:1...
Forum: Linux 09-01-2012
5,529
Posted By vel4ever
Unable to install VLC media player or any other player in SL 6.3 distro
Hi,

I am unable to install VLC or any other media players in my SL 6.3 distro. I am using yum utility to install the packages, but i am getting the below error messages,


--> Processing...
Forum: Red Hat 08-27-2012
2,712
Posted By vel4ever
It is Korn shell..
It is Korn shell..
Forum: Red Hat 08-27-2012
2,712
Posted By vel4ever
TAB button doesn't work properly
Hi,

I have list of files under a directory as shown below.


/home/root
-rw-r--r-- 1 user 0 Aug 27 06:08 rough.txt
-rw-r--r-- 1 user 0 Aug 27 06:08 test.sh
Now when i use to read the...
6,873
Posted By vel4ever
How to get the last value from a string in shell script?
I have to get the last value from a string, below is the example string


String -> Here is the test string 12233
O/P -> 12233

String -> Hello world 500
O/P -> 500

String -> 300
O/P ->...
6,777
Posted By vel4ever
What i required is if there is any ORA or SQL...
What i required is if there is any ORA or SQL error then i have assign the value as 0 to the variable tot
6,777
Posted By vel4ever
How to turn off ora errors in shell script?
I have a shell script which select total count from a table and use its value in a if condition like below


connect_string="username/password@tnsname"
tot=`sqlplus -s $connect_string << EOF
set...
2,404
Posted By vel4ever
Thank you. Will it execute test.sh even if...
Thank you. Will it execute test.sh even if test.pl fails and returns exit 1.
2,404
Posted By vel4ever
Please find it here, /usr/bin/perl -S...
Please find it here,

/usr/bin/perl -S $script_root/test.pl >> log/perl_srt.log_$(date +\%F) 2>&1 &; $script_root/test.sh
2,404
Posted By vel4ever
Execute shell script even if the first script fails
All,

I executing a perl script and shell script from a master shell script. i will execute the perl script first and have to execute the shell script after the completion of perl execution. Below...
3,032
Posted By vel4ever
Scott, Instead of redirect i have used the...
Scott,

Instead of redirect i have used the gunzip and move commands. As i will have lots files under the directory and i cannot hard code the file name to which the decompressed data to be...
3,032
Posted By vel4ever
How to decompress files using gunzip?
I have compressed files under directory '/root/data' and i need the uncompressed files in another directory
'/root/uncom'. I running a shell script below shell script from directory '/root/'

...
Showing results 1 to 25 of 114

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