Search Results

Search: Posts Made By: ThobiasVakayil
1,769
Posted By ThobiasVakayil
Thanks for the reply. Ensuring that no process...
Thanks for the reply.
Ensuring that no process is holding this file by using lsof command and after that I copied the file.
1,769
Posted By ThobiasVakayil
Copy files without affecting the running process
Hi Experts,

I would like to know in Linux any command which will replace a file without affecting the running process.
I tried the mv command bug the running process is not taking the new file....
1,282
Posted By ThobiasVakayil
mv $fname ${fname%%.*}.csv
mv $fname ${fname%%.*}.csv
1,797
Posted By ThobiasVakayil
find . -name sample* | xargs perl -pi -e...
find . -name sample* | xargs perl -pi -e 's/UPESI1/UPE10/g'
3,033
Posted By ThobiasVakayil
ls -lrt shows the files in sorted order.
ls -lrt shows the files in sorted order.
17,274
Posted By ThobiasVakayil
for file in `ls`; do ...
for file in `ls`;
do
grep find $file | head -1
done
21,653
Posted By ThobiasVakayil
echo "abc(opp)aop" | awk -F"(" '{print $2}' | awk...
echo "abc(opp)aop" | awk -F"(" '{print $2}' | awk -F")" '{print $1}'
or
echo "abc(opp)aop" |cut -d"(" -f2 | cut -d")" -f1
2,316
Posted By ThobiasVakayil
ls | grep...
ls | grep [a-z]*_[0-9][0-9][A-Z][a-z]*[0-9][0-9][0-9][0-9].[a-z]*
35,447
Posted By ThobiasVakayil
use the following command inside the script and...
use the following command inside the script and check
getent passwd <username>
38,609
Posted By ThobiasVakayil
find . -name "*.csh" -exec grep -w "ABC - proj"...
find . -name "*.csh" -exec grep -w "ABC - proj" {} \; -print
38,609
Posted By ThobiasVakayil
find ../ -name "*.csh" grep ABC {} \;...
find ../ -name "*.csh" grep ABC {} \; -print
Forum: Red Hat 07-22-2009
3,049
Posted By ThobiasVakayil
check any alias is set for ls.
check any alias is set for ls.
1,516
Posted By ThobiasVakayil
if [ "$length" -eq 1 -a "$fun_RTYPE" = "RW"...
if [ "$length" -eq 1 -a "$fun_RTYPE" = "RW" ]
8,670
Posted By ThobiasVakayil
ksh -x script.ksh > steps 2>&1
ksh -x script.ksh > steps 2>&1
30,244
Posted By ThobiasVakayil
while [ $BGDP > 0 ] $ missed in variable...
while [ $BGDP > 0 ]

$ missed in variable BGDP
3,174
Posted By ThobiasVakayil
find . -type f -exec grep -w "word" {} \; -print...
find . -type f -exec grep -w "word" {} \; -print | grep "^./" | xargs rm -rf
8,530
Posted By ThobiasVakayil
Hello, You have to pass the column variable...
Hello,

You have to pass the column variable as an argument to awk.

Regards,
Thobias
8,530
Posted By ThobiasVakayil
echo "1,2,3,-,5" | awk -F, '{if($4=="-") {print...
echo "1,2,3,-,5" | awk -F, '{if($4=="-") {print "dash in 4"}}'
3,393
Posted By ThobiasVakayil
try like this : ./tst.ksh otherwise add...
try like this :

./tst.ksh

otherwise add set -x in the begining of the script and see the result
#!/bin/ksh
set -x
date
8,530
Posted By ThobiasVakayil
echo '1,2,3,-,5' | awk -F, '{if($4="-") print...
echo '1,2,3,-,5' | awk -F, '{if($4="-") print "dash in 4"}'
6,184
Posted By ThobiasVakayil
Include the following path in LD_LIBRARY_PATH...
Include the following path in LD_LIBRARY_PATH variable after teh oracle 10g library path and try :
/oracle/app/oracle/product/8.1.7/lib
5,537
Posted By ThobiasVakayil
I think it is the solution. B'cos there is no...
I think it is the solution.
B'cos there is no match between the minutes entry.
5,537
Posted By ThobiasVakayil
create the cron job with two lines : ...
create the cron job with two lines :

15,30,45 07 * * * command.....
00,15 08 * * * command.....
3,088
Posted By ThobiasVakayil
find . -exec ls -l {} \; -print | awk...
find . -exec ls -l {} \; -print | awk '{printf("%ld %s %d %s \n",$5,$6,$7,$9)}'
4,056
Posted By ThobiasVakayil
you can use telnet. but you have to pass userid...
you can use telnet. but you have to pass userid and give password.
Showing results 1 to 25 of 72

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