08-16-2010
Hi Bakunin, thanks for quick reply..
I think my VI command line editing mode is already on.. as I can use all the other vi commands on the command mode except for "/"
I tried "set -o vi" on command prompt as well as .profile..
but still not able to search history of commands..
Don't know where am I going wrong..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm using the case statement in the following script and it always takes the "*" default choice while it should be "3".
I wonder why ???
dt_auj=`date +%d`
NBLOG=`ls -al /users/notes01/LOG/t*|awk '{print $7}'|grep $dt_auj|wc -l`
case $NBLOG in
1) cat ~/LOG/console-notes > $fic_tmp1 ;;
2)... (5 Replies)
Discussion started by: Nicol
5 Replies
2. UNIX for Dummies Questions & Answers
253 lab2-36:~/try_direct/another> set x=1;set y=2;@z=$x+$y
@z=1+2: Command not found.
254 lab2-36:~/try_direct/another> (11 Replies)
Discussion started by: endeavour1985
11 Replies
3. Linux
How can I configure it?
I have a swedish keyboard with swedish keyboard setting. Everything works perfectly (едц) except that button. What can be wrong?
/Richard
++
NOTE: It seems like the computer notices the input but that the button isn't assigned to anything (the keyboard-cursor stops).... (1 Reply)
Discussion started by: riwa
1 Replies
4. UNIX for Advanced & Expert Users
when i give "ps -elf" or "ps" system gets hung.
if i press "^c" come out from it...
pls help..what should i do to get it resolved.
thanks
CKanth (4 Replies)
Discussion started by: srikanthus2002
4 Replies
5. UNIX for Dummies Questions & Answers
totally pis*ed off.
I have a data set (xxx.txt), as follows:
chr1 3821 rs127372 A/C 0.823
chr1 3822 rs127376 A/C/G 0.899
chr1 3722 rs612634 A/C 9.22
chr1 3262 rs7152 A/T 0.22
chr1 3711 rs737 A/C/G 0.2323
.......
I only want to get those lines... (6 Replies)
Discussion started by: kaixinsjtu
6 Replies
6. OS X (Apple)
hi there, could use some basic PATH advice, i think, or something
find sometimes work, but which hasn't ever seemed to. for years!
what am i doing wrong that the commands which and find rarely work?
they used to work on the workstations i used ages ago...
running 10.5.8 because i... (4 Replies)
Discussion started by: zensnob
4 Replies
7. AIX
More issues. The "|" key doesn't work at all, either in the text terminal or in mwm (which starts fine when I do "startx").
How am I supposed to troubleshoot without a "|" key? (2 Replies)
Discussion started by: smithfarm
2 Replies
8. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
9. Shell Programming and Scripting
Working with IP addresses is a pain...
Here's my problem: I'm putting some interface information to a file:
3.185.201.2 | Tu1102
152.162.54.130 | Gi0/2.36
3.185.226.2 | Gi0/1
3.185.0.82 | Tu1
... (12 Replies)
Discussion started by: turk22
12 Replies
10. Shell Programming and Scripting
Hello, :)
I've an issue with the creation of a directory, All work without it :mad: So, below, my scripts with the debug output :
#!/bin/bash
# PATHS
HOME_BACKUP="/home/backup"
HOME_SCRIPT="/home/scripts/test/backup_server"
TARGET="/var/www"
# DATE
DATE_Ymd=$(date +%Y-%m-%d)
#... (1 Reply)
Discussion started by: Arnaudh78
1 Replies
LEARN ABOUT OPENDARWIN
auctl
AUCTL(1) General Commands Manual AUCTL(1)
NAME
auctl - control various audio server parameters
SYNOPSYS
auctl [-audio servername] [-q] [command...]
DESCRIPTION
The auctl program can be used to control various audio server parameters. It is typically used when connecting up new devices, or to set
user preferences. If no command is specified on the program command line, auctl reads commands from the standard output. If the standard
input and standard output are both attached to a terminal, an interactive prompt is provided.
OPTIONS
The following options may be used with auctl:
-audio servername
This option specifies the Network Audio System server on which the files should be played.
-q This option indicates that no prompt should be given when reading commands from the standard input.
COMMANDS
The following commands may be used with auctl:
help This command prints a list of the commands that may be given.
set device id gain [=,+,-] percent
With =, this command sets the gain on the device specified by id to the indicated percentage, or alters it by the given number of
percentage points if + or - is used. If the id is a decimal number n, the nth device returned by the server (see auinfo) is used.
Otherwise, id should be a hexidecimal number specifying the resource identifier of the desired device.
set device id linemode = low
This command sets the linemode of the device specified by id to the lower setting appropriate for microphones.
set device id linemode = hi
This command sets the linemode of the device specified by id to the higher setting appropriate for CD players.
list device id gain
This command lists the gain of the specified device in the form needed to set it.
list device id linemode
This command lists the line mode of the specified device in the form needed to set it.
list device id
This command lists the gain and line mode of the specified device.
quit, exit, or ^D
Either of these commands or an end of file causes the program to exit.
ENVIRONMENT VARIABLES
The following environment variables are used by auctl:
AUDIOSERVER
This specifies the name of default audio server to contact if no name is explicitly given on the command line.
DISPLAY This specifies the name of an X Window System display that should be assumed to also have a corresponding Network Audio System
server.
SEE ALSO
nas(1), auplay(1), audial(1), audemo(1), autool(1)
COPYRIGHT
Copyright 1993, 1994 Network Computing Devices, Inc.
AUTHOR
Jim Fulton, Network Computing Devices, Inc.
1.9.3 AUCTL(1)