10-06-2003
Geez, everyone's in such a hurry these days
Scripts like these will put considerable load on system. Even a "sleep 1" inserted into the loop will help a lot.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear friends,
please tell me how to identify the type of the shell (whether cShell, kshell or anything else)
please tell me the command.
waiting for ur reply....
regards,
swamymns (2 Replies)
Discussion started by: swamymns
2 Replies
2. UNIX for Dummies Questions & Answers
hello,
I was wondering what is the command to display the shell type?
much thanks (3 Replies)
Discussion started by: yipster
3 Replies
3. Shell Programming and Scripting
Hello,
I'm wondering if you may know of a simple file based UNIX utility that can be used to store and retrieve values on a flat file, let's say i have a file called "kru", i'd like to be able to specify a request like:
while(....)
if ; then
kru.fld2 = $rec_cnt
kru.fld3 =... (4 Replies)
Discussion started by: bobk544
4 Replies
4. UNIX for Advanced & Expert Users
Could someone please advise, what's the best way to changing the shell type from sh to ksh.
When I login into a unix server it takes you directly to sh, is there a way of amending the .profile to use ksh instead. Or is there some other way ?
Ideally it would be good to be done from the login... (10 Replies)
Discussion started by: venhart
10 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Below is some code that I would like to implement however I am getting these errors: (what I am attempting to do is to check if a zip file has ascii files and if ascii and not binary then move the ascii files to a folder. some of the files are in xml format but are ascii and i will be moving... (0 Replies)
Discussion started by: bwcberb
0 Replies
6. Shell Programming and Scripting
please help me to execute a simple shell script like
for i in `ls
echo $i
done
. i dont want to create a new sh file to execute it. Can i just type and execute it ? because I always this kind of simple for loops .
Please help .
Thanks (7 Replies)
Discussion started by: Sooraj_Linux
7 Replies
7. Shell Programming and Scripting
Hi,
I gave a command echo $SHELL --> To find out the shell I'm using, which gave me the below output
echo $SHELL
/bin/uvalid
what does it mean?
Please use code tags when posting data and code samples, thank you. (1 Reply)
Discussion started by: dnam9917
1 Replies
8. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
Hello!
I need help with this problem bash shell scripting that basically just reads the data in a tab delimited file and does the following below
1. Read in the data file Survey.txt and assign the column values to variables of... (6 Replies)
Discussion started by: jsmith6932
6 Replies
9. Shell Programming and Scripting
Hi,
I have a file with few values in it. I need script help to read file line by line and check:
1/if it's a file (with extension eg .java .css .jar etc )
or
2/if it's a file without extension and treat it as a directory and then check if the directory exists in working copy else create one... (6 Replies)
Discussion started by: iaav
6 Replies
10. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
Write a shell script that takes a single command line parameter, a file path (might be relative or absolute). The script should examine that file and print a single line consisting of the phrase:
Windows ASCII
if the files is an... (4 Replies)
Discussion started by: kwatt019
4 Replies
LEARN ABOUT OPENDARWIN
suspend
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)