suspend(1) User Commands suspend(1)NAME
suspend - shell built-in function to halt the current shell
SYNOPSIS
sh
suspend
csh
suspend
ksh
suspend
DESCRIPTION
sh
Stops the execution of the current shell (but not if it is the login shell).
csh
Stop the shell in its tracks, much as if it had been sent a stop signal with ^Z. This is most often used to stop shells started by su.
ksh
Stops the execution of the current shell (but not if it is the login shell).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO csh(1), kill(1), ksh(1), sh(1), su(1M), attributes(5)SunOS 5.11 15 Apr 1994 suspend(1)
Check Out this Related Man Page
suspend(1) User Commands suspend(1)NAME
suspend - shell built-in function to halt the current shell
SYNOPSIS
sh
suspend
csh
suspend
ksh
suspend
DESCRIPTION
sh
Stops the execution of the current shell (but not if it is the login shell).
csh
Stop the shell in its tracks, much as if it had been sent a stop signal with ^Z. This is most often used to stop shells started by su.
ksh
Stops the execution of the current shell (but not if it is the login shell).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO csh(1), kill(1), ksh(1), sh(1), su(1M), attributes(5)SunOS 5.10 15 Apr 1994 suspend(1)
well i have this code here..and it works fine in kornshell..
#!/bin/ksh
home=c:/..../
input=$1
sed '1,3d' $input > $1.out
line=""
cat $1.out | while read a
do
line="$line $a"
done
echo $line > $1
rm $1.out
however...now i want it just in normal sh mode..how to convert this?... (21 Replies)
I have a tab delimited HUGE file (13 million records) with Detail, Metadata and Summary records.
Sample File looks like this
M BESTWESTERN 4 ACTIVITY_CNT_L12 A 3
M AIRTRAN 4 ACTIVITY_CNT_L12 A 3
D BESTWESTERN FIRSTNAME LASTNAME 209 N SANBORN AVE
D BESTWESTERN FIRSTNAME LASTNAME 6997... (25 Replies)
All,
I need l help in writing a script;
I have a file with header on the first row data rows next and the last row in the file contains the record count of the data records only. I need to remove the last and first line and check to see that the data rows match the count on the last line. ... (61 Replies)
Hi All,
I am on a Solaris OS and i have come up with a csh script named " mycshscript " which will grab data from a datalog file & format the grabbed data & upload formated version to web server. I would want to have this script to run non-stop so that the latest can be captured since data is... (37 Replies)
I have contents like
423562143124/53125351276
sdgas/347236
sjhdk;ls'ald/y62783612763
I need a command that would make the string before / and after / as separate output as (A should contain 423562143124 )and B should
contain 53125351276).
I tried but in vain.
Please help. (19 Replies)
hi experts,
how can i separate the files contaiing several lines as
/common/interface/inbound/na/data/pre-receive/gadtest/subhendu/sample.gz
/common/interface/inbound/na/data/pre-receive/gadtest/subhendu/sample1.gz
i mean i want 2 separate the files sample.gz and sample1.gz and redirect them... (30 Replies)
Hi all,
I'm new to shell scripting and hence this query.
I have 2 files. temp.txt and config.txt.
The values in temp.txt are tab separated.
ex: temp.txt
AB CDE GHIJ OPQRS WXY
ex:config.txt (1st line for 1st element of temp.txt and so on)
start = '1' end='5'
start = '6' end =... (26 Replies)
I have an application that needs to be restarted periodically. At times, one of the processes will hang. I would like to automate this process.
# If the value returned here is a ?:
ps -ef | grep "ibiaud" | grep -v grep | tr -s " " | cut -d " " -f7
# then run this:
kill -9 `ps... (19 Replies)
i have a ksh code that needs to be written in AWK. can someone please help me here? :(
if }" | grep -c "$2") -gt 0 ] ; then
print - "found $2 in array ignore"
else
print - "did not find $2 in array ignore"
fi
ignore=4ty56r
ignore=er45ty
.
.
.
ignore=frhtg2 (27 Replies)
#!/bin/csh
echo hello world
this is what i got in a text file called ss1.
i type "chmod 755 ss1.txt" to make it executable.
then when i type
ss1
or
ss1.txt
it says
"ss1 command not found"
what am i doing wrong? (19 Replies)
In csh I use
opt=` echo $arg | awk 'BEGIN {FS="="} {print $1}' `
I am wondering what I should use when using ksh
opt=$(print -R $arg | awk 'BEGIN {FS="="} {print $1}')
or
opt=` print -R $arg | awk 'BEGIN {FS="="} {print $1}' ` (31 Replies)