08-15-2008
It just happened again while piping to sort and zsh reported that it did not recognize the command sort, because it looked like " sort" to the shell. Has no one else using zsh 3.0.8 experienced this? I think it happens while I am editing the command line, but what causes it escapes me.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I've got a variable that I define based on the contents of a field in a pipe delimited text file (read into $REC) as follows:
TEMP=${echo $REC|awk '-F|' '{print $1}')
echo $TEMP gives me:
"$X1" "$X2" "$X3"
How can I then split this up to pass each of the quote delimited parameters into... (2 Replies)
Discussion started by: krism
2 Replies
2. Shell Programming and Scripting
I want to write a script to ensure we have enough space in test to bcp in tables from production. Currently we bcp tables out of a sybase database in production and bcp in the table data to a test environment. We use isql and run the stored procedure sp_spaceused against each of the tables in the... (1 Reply)
Discussion started by: stonemonolith
1 Replies
3. Shell Programming and Scripting
Hello,
I am currently trying to edit an ldif file. The ldif specification states that a newline followed by a space indicates the subsequent line is a continuation of the line. So, in order to search and replace properly and edit the file, I open the file in textwrangler, search for "\r " and... (14 Replies)
Discussion started by: rowie718
14 Replies
4. UNIX for Dummies Questions & Answers
Hello,
On Solaris 10, iostat -E gives me the following results:
sd1 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAY2073RCSUN72G Revision: 0501 Serial No: 0708S08M2L
Size: 73.40GB <73400057856 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0... (1 Reply)
Discussion started by: lieselr
1 Replies
5. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies
6. Ubuntu
Hi All,
Today when I was working on a script to generate custom wordlist. So I ran a script and the output was directed to /tmp.
The disk space was around 19 gb. While the script was running, I decided to direct the o/p file to my 1TB drive. So I broke the run using Ctrl + C.
Now when I... (4 Replies)
Discussion started by: morningSunshine
4 Replies
7. Programming
Can a user space application be asynchronously affected of its normal execution course by an interrupt?
How does the driver know which user space process to interrupt?
What are the functions in user space and kernel drivers that achieve this? (1 Reply)
Discussion started by: dragonpoint
1 Replies
8. UNIX for Dummies Questions & Answers
hi guys
I was presented a LUN from a storage 85GB.
fdisk -l shows 85GB space cool
but after I formatted the partition using fdisk and mkfs.ext3 I only get 75GB space available
why is that? why too many GB lost?
thanks a lot (1 Reply)
Discussion started by: karlochacon
1 Replies
9. Shell Programming and Scripting
This code shal search for the non-breaking space 0xA0 though it returns the error "fatal: attempt to use scalar 'nbs' as array" Can somebody help?
awk --non-decimal-data -v nbs="0xA0" '{if($0 in nbs) {print FILENAME, NR}}' *.txt (1 Reply)
Discussion started by: sdf
1 Replies
10. Shell Programming and Scripting
Here's my code -
for File in "${Files}"; do
uuencode "${File}" "$(basename ${File} 2>&-)" 2>&-;
done | mailx -s "subject" "a@b.c"
Now I want to know if there a way to *not* send an email if the "Files" variables turns out to be blank. Any suggestions?
Also, just to clarify, I... (4 Replies)
Discussion started by: nexional
4 Replies
AAC(4) BSD Kernel Interfaces Manual AAC(4)
NAME
aac -- Adaptec AdvancedRAID Controller driver
SYNOPSIS
aac* at pci? dev ? function ?
ld* at aac? unit ?
DESCRIPTION
The aac driver provides support for the Adaptec AAC family of SCSI and SATA RAID controllers. These controllers support RAID 0, 1, 5, 10,
and volume sets. They have four channels in the add-in version or 1-2 channels in the motherboard integrated version, and are most often
found rebadged by Dell, Hewlett-Packard or IBM. Supported controllers include:
o Adaptec AAC-364
o Adaptec SCSI RAID 2120S
o Adaptec SCSI RAID 2200S
o Adaptec SATA RAID 2410SA
o Adaptec SATA RAID 3405
o Adaptec SCSI RAID 5400S
o Dell PERC 2/Si
o Dell PERC 2/QC
o Dell PERC 3/Di
o Dell PERC 3/Si
o Dell PERC 320/DC
o Dell CERC SATA RAID 1.5/6ch
o HP NetRAID 4M
o HP ML110 G2 (Adaptec SATA RAID 2610SA)
o IBM ServeRAID 8k
Access to RAID containers is available via the ld device driver. Individual drives cannot be accessed unless they are part of a container or
volume set, and non-fixed disks cannot be accessed. Containers can be configured by using the on-board BIOS utility of the card.
DIAGNOSTICS
The adapter can send status and alert messages asynchronously to the driver. These messages are printed on the system console.
SEE ALSO
intro(4), ld(4)
HISTORY
The aac driver first appeared in NetBSD 1.6, and was based on the FreeBSD driver of the same name.
BUGS
This driver is not compatible with controllers that have version 1.x firmware. The firmware version is the same as the kernel version
printed in the BIOS POST and driver attach messages.
BSD
February 19, 2011 BSD