Hello!!!
I need a korn shell script in AIX that inside sftp environment, changes a remote directory, lists the files inside it, and stores in an array.
I got it working before make a sftp, but after.. I can't..
The way it is, it lists the files in local path... so.. not what I want, but... (1 Reply)
How do I make the below ksh to process all of the files inside a user specified directory?
Currently it can only process one file at a time.
#!/bin/ksh
tr -s '\11 ' ' ' < $1 > temp0
sed -e 's/,//g' temp0 > temp1
cut -d' ' -f1,4,5 temp1 > final_output
rm temp0 temp1 (3 Replies)
I want to FTP multiple files in a directory that the files were created since midnight of the same day using korn shell. I can use the "find" command using -newer arguement that compares against a time stamp file. The script identifies the files, I can't use a variable = `find . ` as the... (2 Replies)
Hi,
I have two text files containing records in following format:
file1 format is:
name1 age1 nickname1 path1
name2 age2 nickname2 path2
file 1 example is:
abcd 13 abcd.13 /home/temp/abcd.13
efgh 15 efgh.15 /home/temp/new/efgh.15 (4 Replies)
hello,
i want to know how to initialize a file to an empty one in korn shell scripting? i'm using a file name and building it during a while loop using >>. The problem occurs when the file is not empty before reaching the while loop. therefore, i want to initialize it before the loop to get... (6 Replies)
Write a KSH script called cleanse which displays the name of each file in a given directory and allows the user to interactively decide whether or not to keep or delete the specific file.
Notes: Again, please check for errors.
can any one help on this problem ?? (1 Reply)
how do you show each filename in a giving directory and delete the specific file in korn script
i was thinking using ls rm ? but i cant make it work (0 Replies)
Hello all. This may seem like a dumb/easy question but right now I have a little script I made that uses rsync to sync a directory that has files in it that may or may not be complete files. I want to come up with a better solution for this. What it is is I have a directory lets say /incomplete... (4 Replies)
Hi All
I need to pass country code into a pipe delimited file for lookup.
It will search country code (column 3) in the file, if the country code matched, it will return value from other columns.
Here is my mapping file.
#CountryName|CountryRegion|CountryCode-3|CountryCode-2... (5 Replies)
Hello All , I am new to this Forum,
I am trying to write a script to combine two data files with 1 column in common and others columns are different .
File1
Apple 29
tomatao 4
grapes 25
File2
Apple fruit
tomatao veg
grapes fruit
other (3 Replies)
Discussion started by: gagan0119
3 Replies
LEARN ABOUT LINUX
urtw
URTW(4) BSD Kernel Interfaces Manual URTW(4)NAME
urtw -- Realtek RTL8187B/L USB IEEE 802.11b/g wireless network device
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device ehci
device uhci
device ohci
device usb
device urtw
device wlan
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
if_urtw_load="YES"
DESCRIPTION
The urtw driver supports USB 802.11b/g wireless adapters based on the Realtek RTL8187B/L.
urtw supports station and monitor mode operation. Only one virtual interface may be configured at any time. For more information on config-
uring this device, see ifconfig(8).
HARDWARE
The urtw driver supports Realtek RTL8187B/L based wireless network devices, including:
Card Radio Bus
Belkin F5D7050E RTL8225 USB
Linksys WUSB54GCv2 RTL8225 USB
Netgear WG111v2 RTL8225 USB
Netgear WG111v3 RTL8225 USB
Safehome WLG-1500SMA5 RTL8225 USB
Shuttle XPC Accessory PN20 RTL8225 USB
Sitecom WL168v1 RTL8225 USB
Sitecom WL168v4 RTL8225 USB
SureCom EP-9001-g(2A) RTL8225 USB
TRENDnet TEW-424UB V3.xR RTL8225 USB
EXAMPLES
Join an existing BSS network (i.e., connect to an access point):
ifconfig wlan create wlandev urtw0 inet 192.168.0.20
netmask 0xffffff00
Join a specific BSS network with network name ``my_net'':
ifconfig wlan create wlandev urtw0 ssid my_net up
Join a specific BSS network with 64-bit WEP encryption:
ifconfig wlan create wlandev urtw0 ssid my_net
wepmode on wepkey 0x1234567890 weptxkey 1 up
SEE ALSO intro(4), netintro(4), usb(4), wlan(4), wlan_ccmp(4), wlan_tkip(4), wlan_wep(4), ifconfig(8), wpa_supplicant(8)
Realtek, http://www.realtek.com.tw.
HISTORY
The urtw device driver first appeared in FreeBSD 8.0.
AUTHORS
The urtw driver was written by Weongyo Jeong <weongyo@FreeBSD.org>.
BSD October 17, 2009 BSD