05-04-2005
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to pull out the 3rd column of information and stick in a file. What is the Utility I use to do this? (8 Replies)
Discussion started by: James
8 Replies
2. UNIX Desktop Questions & Answers
I'm having trouble trying to extract files from a bru tape. The man pages on the bru command have confused me. The following are commands that I've tried and the respective outputs.
will.rlee 224> bru -vgf /dev/nrtape
label:
created: Mon Nov 7 18:21:41 1994
device: ... (7 Replies)
Discussion started by: sherbet808
7 Replies
3. Shell Programming and Scripting
hi
I have two file that I would like to paste line by line. I use to use paste for this. But my current platform will not have paste utility. Could anyone please suggest how I it can be done using sed,awk or even simple bourne shell scripts?
Thanks
Sabina (1 Reply)
Discussion started by: ssayeed
1 Replies
4. Shell Programming and Scripting
I need some help.. I would like to make a script that uses the tr utility to "encrypt" a selected file. I need to know how to set up the script so that if i type encrypt(script name) the letter that i want to start the encryption and then the file name, that it starts with the entered letter, and... (1 Reply)
Discussion started by: frankthetank115
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have a requirement to replace '/307' with comma ',' .
for e.g. :
$ cat dm.dat
-------------
decimdal("\307") acct
$echo $l
\307
$echo $k
,
$sed -e "s/$l/$k/" dm.dat > dm1.dat
sed: Function s/\307/,/ cannot be parsed.
I want dm1.dat to be :
$ cat dm1.dat (1 Reply)
Discussion started by: obedkhan
1 Replies
6. Shell Programming and Scripting
I am new to unix os. Can you explain in short about sed?
with some examples. (1 Reply)
Discussion started by: Padmav
1 Replies
7. Shell Programming and Scripting
hi experts,
Can you please help me out in removing delimiters with in double quotes from a CSV file.
input:
=====
a,"bnn,",dgd, "sagfh,dj",ad
output
=====
a,"bnn",dgd, "sagfhdj",ad
there are so mnay fileds in a row and there are millions of rows.
Thanks in an advance.... (6 Replies)
Discussion started by: subhendu81
6 Replies
8. Shell Programming and Scripting
Hi Friends,
Can anyone tell me about POI utility used in Unix.
Regards
Sumit Mittal (1 Reply)
Discussion started by: sumit207
1 Replies
9. Shell Programming and Scripting
Hi,
I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server.
How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies
10. Shell Programming and Scripting
All,
I'm getting a list like the following and I'd like to kill each PID in turn.
pid (17797)
pid (21748)
pid (21754)
pid (21704)
pid (2199)
pid (2159)
pid (17809)
pid (21769)
pid (21778)
pid (21715)
... (3 Replies)
Discussion started by: ejianu
3 Replies
time(1) General Commands Manual time(1)
NAME
time - time a command
SYNOPSIS
command
utility [argument ...]
DESCRIPTION
When a specified command or utility completes execution, prints the elapsed time during the command or utility, the time spent in the sys-
tem, and the time spent executing the command or utility. Times are reported in seconds.
Execution time can depend on the performance of the memory in which the program is running.
The times are printed to standard error.
Note that the shell also has a keyword that times an entire pipeline if used anywhere in the pipeline. This action is different than the
command which times a particular command if used in a pipeline.
Options
recognizes the following options:
command The command to be executed and timed.
Writes the timing statistics to standard error.
utility The name of a utility to be invoked and timed. If the utility operand names any of the shell special built-in utilities,
the time results are undefined. See csh(1) and ksh(1) for information about special built-in utilities.
argument Any string that is an argument to the utility.
SEE ALSO
csh(1), ksh(1), sh(1), timex(1), times(2).
STANDARDS CONFORMANCE
time(1)