08-16-2010
Quote:
Originally Posted by
meetzap
D02:-/home/user1/temp> /job
ksh: /job: not found.
D02:-/home/user1/temp>
OK I see what you've done, when you use / on the command line like that, AIX thinks you are trying to run a command called /job. What you need to do if you are in vi mode is to press Escape and then do /job:
You may need to press n a couple of times to get over the commands you've already entered as /job on the command line.
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 OPENSOLARIS
disown
disown(1) User Commands disown(1)
NAME
disown - ksh93 built-in function to disassociate a job with the current shell
SYNOPSIS
disown [job ...]
DESCRIPTION
The ksh93 disown command prevents the current shell from sending a HUP signal to each of the specified jobs when the current shell termi-
nates a login session.
If job is omitted, disown sends the HUP signal to the most recently started or stopped background job.
OPERANDS
The following operands are supported:
job Specifies the job or jobs on which disown operates.
Specify job as one of the following:
number Refers to a process ID.
-number Refers to a process group ID.
%number Refers to a job number.
%string Refers to a job whose name begins with string.
%?string Refers to a job whose name contains string.
%+ or %% Refers to the current job.
%- Refers to the previous job.
EXIT STATUS
0 Successful completion.
>0 One or more specified jobs does not exist.
EXAMPLES
Example 1 Disowning a Job
The following example disowns job 1:
example% disown %1
AUTHORS
David Korn, dgk@research.att.com
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Uncommitted |
+-----------------------------+-----------------------------+
SEE ALSO
bg(1), jobs(1), ksh93(1), wait(1), attributes(5)
SunOS 5.11 18 Apr 2007 disown(1)