Hi All,
can anyone tell me what is wrong with this command.
tail -f /opt/olr-logs/PaymentGateway.log | grep "DEBUG - Start! AkhtarPaymentGateway - generateChecksum" | awk '{print $13}' | sed 's/,//g'>> abc
But I found nothing in the file abc
Please do help me.or Provide me some... (8 Replies)
Hi all,
I have a problem with qwk command.
i have to check process status and for that i am using command
prstat -mvL 1 1
and it gives me the entire output
but when i use this command with awk like this:
prstat -mvL 1 1 | awk -F" " '{print $1,$15}'
to get first and 15th arguments.
... (3 Replies)
Hello,
I try to using the below command to find out all the datafiles under "sja"
direcotory.
$ xargs -i find {} -type f -ls < sja
/bin/ksh: sja: cannot open
so can you tell me what is wrong?
Thanks
Jerry (3 Replies)
i have a file which gets appended with 9 records daily and the file keeps growing from then...i use to store the previous day files count in a variable called oldfilecount and current files count as newfilecount.my requirement is that i need to start processing only the new records from the... (3 Replies)
Hi there,
what is wrong with this?
grep ">>" alarms_temp | awk '{print substr($5, 2), $7}' | read var1 var2
echo "$var1"
echo "$var2"
Both variable are empty, but if i run:
grep ">>" alarms_temp | awk '{print substr($5, 2), $7}'
I have:
0 9
as a result. (2 Replies)
Hi all,
I'm trying to run the following command to get all files in one directory to another with the files' timestamps preserved,
cp -p /logs/dvgbiau/batch/* /logs/dvgbiau/tmp_batch
Note that ./batch and ./tmp_batch are two sub-directories under /logs/dvgbiau.
The error was,... (1 Reply)
echo "abc:bcd" |awk '{split($0,b,":");print "b" is good }'
I want to "bcd" is good , anything is wrong with my, please don't change my thought with split, I just want to know what's wrong :o (1 Reply)
I have a file
and if I'm doing following action on that file it's coming up correctly
awk -F"," '/DATA_TYPE/ { cnt += $3 } END { print " DATA_TYPE count=" cnt}' inter
DATA_TYPE count=19593131
now if I'm changing same AWK, so that now it can accept variable, then it's somehow not working.... (3 Replies)
file1:
maximum_delay time: 102.794 ms
maximum_delay time: 92.977 ms
maximum_delay time: 98.895 ms
maximum_delay time: 96.891 ms
maximum_delay time: 86.966 ms
maximum_delay time: 95.91 ms
maximum_delay time: 98.921 ms
maximum_delay time: 89.881 ms
maximum_delay time: 92.931 ms... (1 Reply)
Discussion started by: yanglei_fage
1 Replies
LEARN ABOUT LINUX
rnano
RNANO(1) General Commands Manual RNANO(1)NAME
rnano - Restricted mode for Nano's ANOther editor, an enhanced free Pico clone
SYNOPSIS
rnano [OPTIONS] [[+LINE,COLUMN] FILE]...
DESCRIPTION
This manual page briefly documents the rnano command.
nano is a small, free and friendly editor which aims to replace Pico, the default editor included in the non-free Pine package. Rather than
just copying Pico's look and feel, nano also implements some missing (or disabled by default) features in Pico, such as "search and
replace" and "go to line and column number".
rnano is a restricted version of nano, which only edits specific files and doesn't allow the user access to the filesystem or a command
shell.
In restricted mode, nano will not:
o read or write to any file not specified on the command line;
o read any nanorc files;
o allow suspending;
o allow a file to be appended to, prepended to, or saved under a different name;
o use backup files or spell checking.
OPTIONS
+LINE,COLUMN
Places cursor at line number LINE and column number COLUMN (at least one of which must be specified) on startup, instead of the
default of line 1, column 1.
-? Same as -h (--help).
-h (--help)
Show a summary of command line options and exit.
-V (--version)
Show the current version number and exit.
See the nano(1) manpage for the complete documentation of nano.
BUGS
Please send any comments or bug reports to nano@nano-editor.org.
The nano mailing list is available from nano-devel@gnu.org.
To subscribe, email to nano-devel-request@gnu.org with a subject of "subscribe".
HOMEPAGE
http://www.nano-editor.org/
AUTHOR
Chris Allegretta <chrisa@asty.org>, et al (see AUTHORS for details). This manual page was originally written by Thijs Kinkhorst
<thijs@kinkhorst.com>, for the Debian system (but may be used by others).
August 23, 2007 version 2.0.0 RNANO(1)