02-22-2007
I dont get you awk.
Becoz I have to get the file from my D: drive of my client PC which is on Windows.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to display a line in an xterm window but i want to revese the colors so that the background color becomes the foreground color and the foreground color the background color. I want to do this as part of ksh script.
Can somebody tell me how to do this ?
Thanks,
Abu. (5 Replies)
Discussion started by: marcose
5 Replies
2. IP Networking
our server (solaris, bind v 8.1.2) is suppose to be the authoritive or the master and our isp's server is suppose be the secondary. i've created a reverse lookup zone file and added an entry for it in my named.conf file. i've restarted the dns daemon and i don't have any errors in... (1 Reply)
Discussion started by: Westy564
1 Replies
3. IP Networking
Help having problems accesing various sites that require me to be a registered .gov domain. My IP is a registered as an .gov but my nameserver record has changed on my DNS configurartion(I don't know why) from something.gov to somethingelse.gov. Same IP, though.
When a reverse lookup is... (1 Reply)
Discussion started by: jpalmer320
1 Replies
4. Shell Programming and Scripting
when I do
$ ls z*
List of all files begining with 'z'. But what if I want to do a reverse lookup. Just for interest sake ;)
$ ls ztr
should be same as
$ ls ztr*
$ ls zt*
$ ls z* (2 Replies)
Discussion started by: azmathshaikh
2 Replies
5. Shell Programming and Scripting
Can we print any string in reverse order?
For example:
oracle 16294 1 0 Aug 11 ? 0:00 ora_reco_crepd
oracle 16276 1 0 Aug 11 ? 0:19 ora_dbw0_crepd
I need second last column from this output. (0:00 & 0:19).
I can use awk print $2 after reversing the string.
... (4 Replies)
Discussion started by: malaymaru
4 Replies
6. Shell Programming and Scripting
i have created a script that will reverse any given ineter.
#!/bin/ksh
echo "Enter the number"
read n
if
then
a=`expr $n / 10`
b=`expr $n % 10`
c=`expr $b \* 10 + $a`
fi
echo $c
---------------------------------------------------------------------
the problem with this script... (4 Replies)
Discussion started by: ali560045
4 Replies
7. Shell Programming and Scripting
hey guys,
can anybody help me out here on the following:
grep '^\{1,3\}\.\{1,3\}\.\{1,3\}\.\{1,3\}$' ravi.txt mary.txt lisa.txt https://www.unix.com/images/misc/progress.gif
i.e what i did was found ip addreses from different files
and then i want... (1 Reply)
Discussion started by: ravis83
1 Replies
8. Shell Programming and Scripting
i am using AIX -ksh
how can i reverse any file ,i have already try tac cmd it is not in AIX:
please help me out. (3 Replies)
Discussion started by: RahulJoshi
3 Replies
9. Shell Programming and Scripting
hi,
I have to reverse the command output like below:
output:
online
offline
disable
maintening
killed
How to reverse this output like:
killed
maintening
disable
offline
online
It should be ksh script. (4 Replies)
Discussion started by: a2156z
4 Replies
10. Shell Programming and Scripting
Hi All,
I would like to know , how to reverse a given string
example :
Hi how are you
Required Output:
you are how HiThanks (7 Replies)
Discussion started by: santhoshks
7 Replies
LEARN ABOUT DEBIAN
diskseekd
diskseekd(1) General Commands Manual diskseekd(1)
Name
diskseek, diskseekd - disk seek daemon; simulates Messy Dos' drive cleaning effect
Note
This manpage has been automatically generated from fdutils's texinfo documentation. However, this process is only approximative, and some
items, such as cross-references, footnotes and indices are lost in this translation process. Indeed, these items have no appropriate rep-
resentation in the manpage format. Moreover, only the items specific to each command have been translated, and the general information
about fdutils has been dropped in the manpage version. Thus I strongly advise you to use the original texinfo doc.
* To generate a printable copy from the texinfo doc, run the following commands:
./configure; make dvi; dvips fdutils.dvi
* To generate a HTML copy, run:
./configure; make html
A pre-made HTML can be found at: `http://www.tux.org/pub/knaff/fdutils'
* To generate an info copy (browsable using emacs' info mode), run:
./configure; make info
The texinfo doc looks most pretty when printed or as HTML. Indeed, in the info version certain examples are difficult to read due to the
quoting conventions used in info.
Description
Several people have noticed that Linux has a bad tendency of killing floppy drives. These failures remained completely mysterious, until
somebody noticed that they were due to huge layers of dust accumulating in the floppy drives. This cannot happen under Messy Dos, because
this excuse for an operating system is so unstable that it crashes roughly every 20 minutes (actually less if you are running Windows).
When rebooting, the BIOS seeks the drive, and by doing this, it shakes the dust out of the drive mechanism. diskseekd simulates this effect
by seeking the drive periodically. If it is called as diskseek, the drive is sought only once.
Options
The syntax for diskseekd is as follows:
diskseekd [-d drive] [-i interval] [-p pidfile]
-d drive
Selects the drive to seek. By default, drive 0 (`/dev/fd0') is sought.
-i interval
Selects the cleaning interval, in seconds. If the interval is 0, a single seek is done. This is useful when calling diskseek from a
crontab. The default is 1000 seconds (about 16 minutes) for diskseekd and 0 for diskseek.
-p pidfile
Stores the process id of the diskseekd daemon into pidfile instead of the default `/var/run/diskseekd.pid'.
Bugs
1. Other aspects of Messy Dos' flakiness are not simulated.
2. This section lacks a few smileys.
See Also
Fdutils' texinfo doc
fdutils-5.5 03Mar05 diskseekd(1)