d command
Details
| Size: | 8K |
| Last Update: | 2008-05-25 21:47:48 |
| Version: | 5.3 |
| OS Support: | Linux |
| License/Program Type: | Free for non-commercial use |
| Publisher: | Dave Yost |
| Price: | $0.00 |
Description:
d command 5.3 is shells software developed by Dave Yost.
The d command runs a command in the background and redirects its output to a file. The output file is annotated with start and end time, the actual command used, cwd, host, etc.
You can ask the d command to extract the last command from the output file and run it again, you can ask it to append to the file or not, and other goodies.
It comes with handy little programs to look at the output, tail it, etc. d command is sort of trivial, but has been streamlined over many years.
Usage: d [ -f file ] c[n][a][p] cmd arg ...
or: d [ -f file ] m[n][a][p] [ make_arg ... ]
or: d [ -f file ] s[n][a][p] [ additional_arg ... ]
or: d [ -f file ] h
Do a task in the background, with its stdout and stderr redirected to a file called out or to file or to a file named by a $yostD_OUTFILE environment variable. The d command usually does
mv ,out out
and then creates a new out file, but d can be told to append to out instead.
The task argument is composed of individual letters:
One of these is required:
c Do the following command - redirection and piping work if quoted.
m Do a make.
s Do the same command again (extract the last command from out, and run it again (without 'nice' unless you ask for it again).
h Print a history of what happened in this out file.
These are optional:
n Do it nicely.
a Append to out.
p Just print the command that would be executed; don't run it.
The d command comes along with several helper shell functions:
q tail -f out
qq cat out
qt tail -20 out
cq clear ; q
cqq clear ; qq
wq wait "$@" ; printf "b" ; qq
wqt wait "$@" ; printf "b" ; qt
The output from d into the file out consists of
prologue
output from the command
epilogue
as shown in the example below, which does this:
Run a command (c) in the background, with output to the out file.
Run the same (s) comand again, with nice (n), appending (a) the output to the existing out file.
Show the out file.
Show what will happen (p) if we try to run the same command again, using &8216;d s&8217;.
Show the history (h) of commands and results contained in the out file.
What's New in This Release:
"d s" now echoes the command it will execute.
The behavior of "d s" was corrected when the output file doesn't exist.
d command 5.3 supports different languages (including english). It works with Linux.
Downloading d command 5.3 will take several seconds if you use fast ADSL connection.
0 comments
Add to
d command Version History
Related Software
|
|
From category: Networking |
| CODEX 1.1 is networking software developed by Michael A. Marsh. CODEX is a software designed for applications with a moderate number of clients requesting authentication keys When designing... |
|
|
From category: Hardware |
| Sysprof is a sampling CPU profiler that uses a Linux kernel module to profile the entire system.... |
|
|
From category: Operating-Systems-Kernels |
| An open Quality of Service Architecture 0.3.1 is operating systems kernels software developed by Tommaso Cucinotta. An open Quality of Service Architecture is an open architecture for the provision... |
|
|
From category: Networking |
| diald-top 2.1pl7 is networking software developed by Gavin Hurlbut. diald-top maintains a \'top\'-like listing of all packets and their time to live for use with diald. This project needs a new lea... |
|
|
From category: Shells |
| taTelnet is a cross-platform telnet client utilizing the wxWindows cross-platform GUI library.... |
|
|
From category: Monitoring |
| Packetfence is an open-source network registration and worm detection system.... |
|
|
From category: Operating-Systems-Linux-Distri |
| DistccPPCKnoppix 0.0.9 is operating systems linux distri software developed by Ben Meyer. DistccPPCKnoppix is a Knoppix distribution which contains distcc servers for both Linux x86 and OSX ppc com... |
|
|
From category: Networking |
| Bandwidth Monitor NG 0.5 is networking software developed by Volker Gropp. Bandwidth Monitor NG is a small and simple console-based live bandwidth monitor. I have sucessfully tested on (if y... |
|
|
From category: Operating-Systems-Linux-Distri |
| ExTiX 2.0 is operating systems linux distri software developed by ExTiX Team. This new version of ExTiX Linux Live DVD includes the 2.6.11 kernel by default, KDE 3.4.1, OpenOffice.org 2.0, KOffice,... |
|
|
From category: Boot |
| Etherboot 5.4.2 is boot software developed by Ken. Etherboot project is a software package for creating ROM images that can download code over an Ethernet network to be executed on an x86 computer.... |
|
|
From category: Logging |
| BlueProximity project helps you add a little more security to your desktop.... |
|
|
From category: Operating-Systems |
| Zenwalk is a lightweight linux distribution based on Slackware Linux.... |
|
|
From category: Filesystems |
| Filesystem in Userspace 2.6.1 is filesystems software developed by Miklos Szeredi. FUSE can implement a fully functional filesystem in a userspace program. Here are some key features of \"Fi... |
|
|
From category: Monitoring |
| BOPM 3.1.2 is monitoring software developed by Erik Fears. BOPM is an open source open proxy monitor, designed for use with hybrid-based ircds, although it can be used with slight modification on a... |
|
|
From category: Monitoring |
| eddiebrowser 0.6.1 is monitoring software developed by Chris Miles. eddiebrowser project is a CGI program that provides an interface to view system statistics graphically using RRDtool. eddi... |
Leave a comment