Guys, this one is rather odd. I've got an array of numbers, and I'm trying to select only the records with the string "Random" in the 4th column. I'm using awk in this format:
awk '{ if (( $6 -eq Random )) print $0 }'
For some odd reason, this is simply giving me the list of all the entries... (4 Replies)
Hi,
I need to sort the 3rd column in ascending order , each and every column are seperated by ~.
sample input file :
2~Lead Time Metrics~jennife1
2~Lead Time Metrics~mmullis
2~Lead Time Metrics~lisah
2~Lead Time Metrics~pros
2~Lead Time Metrics~kenward
can any one help me out .
i... (1 Reply)
hi all
i have a view in the database with columns
prod_no,prod_nm, prod_code
using a shell script i should query this view and dump the data in a delimited flat file and send to another ftp server....
i also have to schedule this periodically using cron tab.
can you... (2 Replies)
#!/usr/bin/ksh
Archive_Dir='/apps/SrcFiles/MTCHG_GFTS/BRGR/Archive'
Source_Dir='/apps/SrcFiles/MTCHG_GFTS/BRGR'
cd $Source_Dir
HOST='xyz.abc.com'
USER='abcOUT'
PSW='xyzOUT'
file="Request*.pgp"
for i in 1 2 3 4 5 6
do
sftp $USER@$HOST <<END_SCRIPT
$PSW
bin
if ] ; then
... (3 Replies)
Given the scenario like this, if at all if have to use IFS on the below given example, how it should be used.
IFS=/
eg:
/xyz/123/348/file1
I want to use the last slash /file1 . So can anyone, suggest me how to pick the last "/" as a IFS. (4 Replies)
hi all,
i have to schedule an email containing the information about some orphan connections existing on the server depending upon the system date. the format of the info to be sent in email is :
Process id username servername time when connection... (0 Replies)
hi,
i am having three files which is having following data
file1:
field1 field2 field3
1 A B
2 C D
3 E F
file2:
4 G H
1 I J
5 K L
file3:
4 M N (3 Replies)
Hi all,
We are hosting Web server using Apache -tomcat , in our company we are following this way for our every new enhancement in production server.
for example if the developers move any new code moved to the server means that time we'll do
1.first check the time / date
2. mod_jk... (0 Replies)
Hello Folks
I am looking for logic help for below scenerio with respect to AIX n unix script
1) We need to get the date of all the saturday in yr
2) L_o left over days is weeks left over days for previous month for eg.
first sat of feb is 4th of feb in that week we have 29 - 30 - 31 from Jan... (2 Replies)
Discussion started by: joshiamit
2 Replies
LEARN ABOUT XFREE86
umct
UMCT(4) BSD Kernel Interfaces Manual UMCT(4)NAME
umct -- Magic Control Technology USB-RS232 converter driver
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device umct
device ucom
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
umct_load="YES"
DESCRIPTION
The umct driver provides support for USB to RS-232 converters based on the Magic Control Technology USB-232 design. These devices support
most of the standard RS-232 features including baud rates ranging from 300 to 115200 bits per second. However, neither hardware nor software
flow control seems to be supported.
Access to devices under this driver is via the ucom(4) framework and device nodes.
HARDWARE
The umct driver supports the following adapters:
o Belkin F5U109
o Belkin F5U409
o D-Link DU-H3SP USB BAY Hub
o Magic Control Technology USB-232
o Sitecom USB-232
SEE ALSO tty(4), ucom(4), usb(4)HISTORY
The umct driver appeared in FreeBSD 5.2. It is loosely based on the ubsa(4) driver by Alexander Kabaev <kan@FreeBSD.org> with documentation
from Wolfgang Grandeggar <wolfgang@cec.ch>.
AUTHORS
The umct driver was written by Scott Long <scottl@FreeBSD.org>.
BSD November 22, 2006 BSD