Search Results

Search: Posts Made By: Naga06
2,737
Posted By chihung
First, you create a Gnuplot template...
First, you create a Gnuplot template (template.gp)
set datafile separator "|"
set xdata time
set timefmt '%H:%M:%S'
set terminal png
set output 'column-@COLUMN@.png'
set yrange [0:]
set title...
1,298
Posted By Corona688
I'm not surprised... That's a dangerous use of...
I'm not surprised... That's a dangerous use of backticks (http://partmaps.org/era/unix/award.html#backticks) and useless use of cat (http://partmaps.org/era/unix/award.html). It works as a quick...
2,004
Posted By methyl
There is an issue with this line: for i in `cat...
There is an issue with this line:
for i in `cat '$file' | tr -d '\r'`
Because $file is between single quote characters it will never get expanded. It should be between double quote characters.
1,866
Posted By Chubler_XL
Why not do a md5sum of the file before you send...
Why not do a md5sum of the file before you send it and check it on the receving end:

source_box $ md5sum mybigfile.tar
81836bd568b30ec974bff32af98458d1 *mybigfile.tar
source_box $ gzip...
12,462
Posted By itkamaraj
Awk - A Tutorial and Introduction - by Bruce...
Awk - A Tutorial and Introduction - by Bruce Barnett (http://www.grymoire.com/Unix/Awk.html)
1,535
Posted By DGPickett
pval is a shell variable, payload value. read...
pval is a shell variable, payload value. read puts values in variables, using the shell's usual $IFS characters as separators, and putting excess values, at least with ksh but it varies, in the last...
1,535
Posted By DGPickett
Well, you have an unreliable data set, so you...
Well, you have an unreliable data set, so you need to analyze it without any speific time. You could use awk or shell to find each pair of lines when time folds back, an apparent day boundary. (Some...
1,405
Posted By dennis.jacob
Instead of it, you can try: awk '{...
Instead of it, you can try:


awk '{ s=substr($0,1,3); print >"acc_"s;}' temp
1,405
Posted By pravin27
use this awk '/^'$cc'/' temp >acc_$cc instead...
use this
awk '/^'$cc'/' temp >acc_$cc
instead of this
cat temp | awk '/^$cc/' >acc_$cc
42,521
Posted By jim mcnamara
1. can you ping your remote host # XXXX is...
1. can you ping your remote host

# XXXX is not the real hostname
ping XXXX


2. If #1 worked can you telnet to port 21 on the remote box?

telnet XXXX 21

IF you get something like this
...
8,711
Posted By tene
Replace #!/bin/csh with #!/bin/sh
Replace #!/bin/csh with #!/bin/sh
Showing results 1 to 11 of 11

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