Search Results

Search: Posts Made By: chacko193
1,009
Posted By chacko193
Yup, I faced the same issue some time back and my...
Yup, I faced the same issue some time back and my disk was full. The problem was solved after doing some disk cleanup.
1,947
Posted By chacko193
You could try and open a remote session to the...
You could try and open a remote session to the server from cygwin by using ssh or any other available means.

Try:

ssh user@hostname

from your cygwin
1,012
Posted By chacko193
Try: UYRD="$(echo $FILE | awk...
Try:

UYRD="$(echo $FILE | awk '{gsub(".var","")}1')_${timestamp}.csv"
Forum: HP-UX 10-21-2014
3,322
Posted By chacko193
Or you can use dos2ux dos2ux inputfile >...
Or you can use dos2ux

dos2ux inputfile > outputfile
1,012
Posted By chacko193
Can you show what is stored in this variables ...
Can you show what is stored in this variables
$FILE_$timestamp.csv

?
1,947
Posted By chacko193
Where do you want to run the scripts? In your...
Where do you want to run the scripts? In your local or in the server?
2,055
Posted By chacko193
What have you tried so far? Where is that you...
What have you tried so far?
Where is that you got stuck?
1,181
Posted By chacko193
Welcome to the forum. First of all cp will...
Welcome to the forum.

First of all cp will not rename the file, it will just create a copy of the original file. If you want to rename a file you need to use mv.

If you are using bash, try:
...
949
Posted By chacko193
Or try: awk -F"LogonTime:" '{print $2}'...
Or try:

awk -F"LogonTime:" '{print $2}' infile
1,559
Posted By chacko193
Are you sure you used the correct code. It is...
Are you sure you used the correct code. It is working for me:

# ll
total 0
-rw-r--r-- 1 root sys 0 Jul 28 05:08 dt_ref_med_merged_madt_h_19980110.nc
-rw-r--r-- 1 root ...
1,559
Posted By chacko193
Please use code tags. From the directory do:...
Please use code tags.

From the directory do:

for file in *
do
mv $file $(echo $file | sed 's/01\([0-9][0-9]\)/_\1/')
done
3,125
Posted By chacko193
Sorry my mistake, it should have been, grep...
Sorry my mistake, it should have been,

grep -q item logs && (echo "Event \"item\" occurred"; exit 0)
3,125
Posted By chacko193
If you want to stop the execution of the script...
If you want to stop the execution of the script when a certain "item" is logged to logs file, instead of using tail, you could try this:

while true; do
grep -q item logs && echo "Event...
1,211
Posted By chacko193
Try: awk 'NR==FNR{arr[$1]=$2;next}{for(ele in...
Try:
awk 'NR==FNR{arr[$1]=$2;next}{for(ele in arr) {if ($1 ~ ele) {$1=arr[ele]}}}1' file1 file2
1,211
Posted By chacko193
awk 'NR==FNR{arr[$1]=$2;next}($1 in...
awk 'NR==FNR{arr[$1]=$2;next}($1 in arr){$1=arr[$1]}1' file1 file2
820
Posted By chacko193
Try: [ -f ${FilePath#//[a-zA-Z]*} ] && echo...
Try:

[ -f ${FilePath#//[a-zA-Z]*} ] && echo "File exists"
This assumes that the expansions of HOST_NAME_LAND and the other evn variables containing the server name starts with // (as per your OP)...
820
Posted By chacko193
Try: [ -f ${FilePath#$HOST_NAME_LAND} ] &&...
Try:

[ -f ${FilePath#$HOST_NAME_LAND} ] && echo "File Exists"
Forum: Programming 07-22-2014
12,112
Posted By chacko193
When you declaredisplay() in the derived class,...
When you declaredisplay() in the derived class, it hides the base class display() instead of overloading it. So when you call the display() using a derived class object, you will get an error since...
Forum: Red Hat 07-21-2014
1,261
Posted By chacko193
Welcome to the forum. As to your question,...
Welcome to the forum.

As to your question, it runs the script /usr/local/kei/batch/apb/bin/JKEIKYK4140.sh with input parameters -run "&$C$6&" WSUKE100201 as keibatch user. Before running the...
1,823
Posted By chacko193
What is the error you are getting? Are you sure...
What is the error you are getting? Are you sure that "MaxSal1" and other variables are not empty? Do an echo for those variables and post the output.
2,494
Posted By chacko193
Are you sure that the file processing is taking...
Are you sure that the file processing is taking up that time and not the gunzip decompression/compression ?

Please use code tags.
1,932
Posted By chacko193
There is a typo in my last post. There should...
There is a typo in my last post. There should have been no space in the assignment operation.


# cat testIn
abc.conf
authpriv.* /var/log/secure...
1,932
Posted By chacko193
Try: PATTERN=...
Try:

PATTERN= "\*\.debug[[:space:]]*\@vxhgt-hskhng02[[:space:]]*"
876
Posted By chacko193
In general awk has the form: awk ' ...
In general awk has the form:

awk '
condition {action}' filename

The action is controlled by the condition. So whenever the condition is true(1), the action is executed.

Here 1 is always...
9,020
Posted By chacko193
Try the file command. It might give you some info...
Try the file command. It might give you some info about the file.
Showing results 1 to 25 of 186

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