09-13-2005
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
I have two Solaris machines.
1. SunOS X 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-1500
2. SunOS Y 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60
I am trying to buiild a project on both these machines. The Binary output file compiled on machine 2 runs on both the machines. Where... (0 Replies)
Discussion started by: scgupta
0 Replies
2. Shell Programming and Scripting
I have a task that says: make a file (called binaryfile ) that contains
4 bytes of NULL data
6 bytes of random data
8 bytes of 1
10 bytes of 5
and 12 bytes of 9.
For the first 2, I can used :
dd if=/dev/null of=binaryfile bs=8 count =4 and
dd if=/dev/urandom of=binaryfile bs=8... (3 Replies)
Discussion started by: spiriad
3 Replies
3. UNIX for Dummies Questions & Answers
How can we see the contents of a binary file? (1 Reply)
Discussion started by: siba.s.nayak
1 Replies
4. Programming
Hi all
I have a C program to write it's output into a textfile which is also created by the program in between. The file that's get created prompt's a message while opening manually that the file is binary and any change in that leads to it's corruption.
I have used putc() to write the output... (2 Replies)
Discussion started by: joshighanshyam
2 Replies
5. Shell Programming and Scripting
Hi,
I wrote a small script whose function is to execute the postemsg provided if the threshold breaches.
I want to log this postemsg messages to a log file. But I am not able to do. Can someone throw some light on how to log the output of this. I am pasting a snippet of that code.
... (2 Replies)
Discussion started by: dbashyam
2 Replies
6. UNIX for Dummies Questions & Answers
I am using grep to match a pattern, but the output is strange.
$ grep -r -o "pattern" *
Gives me:
Binary file foo1 matches
Binary file foo2 matches
Binary file foo3 matches
To find the lines before/after, I then have to use the following on each file:
$ strings foo1 | grep -A1 -B1... (0 Replies)
Discussion started by: chipperuga
0 Replies
7. UNIX for Advanced & Expert Users
Hello,
Can I copy a binary file while the file is being written to by another process?
Another process (program) “P1” creates and opens (for writing) binary file “ABC” on local disk. Process P1 continuously write into ABC file every couple of seconds, adding 512-byte blocks of data. ABC file... (1 Reply)
Discussion started by: mbuki
1 Replies
8. Shell Programming and Scripting
I am struck up with a problem and that is with output redirection.
I used all the ways for the redirection of the output of c binary to a file, still it is failing.
Here are the different ways which I have used:
./a.out | tee -a /root/tmp.txt 2>&1
./a.out | tee -a /root/tmp.txt 1>&1
./a.out |... (2 Replies)
Discussion started by: Maya29988
2 Replies
9. UNIX for Dummies Questions & Answers
Hello guys,
We had to move from a DC to another, and we are now facing an "issue" with some text files.
Looks like that some of our log files are set as binary:
file TuxConnectorURA.20121012
TuxConnectorURA.20121012: data or International Language text
less TuxConnectorURA.20121012... (2 Replies)
Discussion started by: EnioMarques
2 Replies
10. Shell Programming and Scripting
Hello *nix specialists,
Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies
pilot(1) General Commands Manual pilot(1)
Name
pilot - simple file system browser in the style of the Pine Composer
Syntax
pilot [ options ] [ directory ]
Description
Pilot is a simple, display-oriented file system browser based on the Pine message system composer. As with Pine, commands are displayed at
the bottom of the screen, and context-sensitive help is provided.
Pilot displays the current working directory at the top of the screen. The directory's contents are displayed in columns of file name,
file size pairs. Names that are directories are indicated by the name "(dir)" in place of the file size. The parent of the current work-
ing directory is indicated by the file name ".." and size of "(parent dir)". File names that are symbolic links to other files are dis-
played with a file size of "--".
Several basic file manipulation commands are provided: Delete, Rename, Copy, View, Launch, and Edit. The "View" and "Edit" commands oper-
ate on text files only. By default, the "View" command displays files using "pine -F", but will respect the environment variable PAGER if
set. The "Edit" command simply invokes "pico". The "Launch" command provides a convenient way to either execute the selected file or to
run an application on it.
More specific help is available in pilot's online help.
Options
-a Display all files including those beginning with a period (.).
-f Use function keys for commands. This option supported only in conjunction with UW Enhanced NCSA telnet.
-g Enable "Show Cursor" mode. Cause cursor to be positioned before the current selection rather than placed at the lower left of the
display.
-j Enable "Goto" command. This enables the command to permit explicitly telling pilot which directory to visit.
-m Enable mouse functionality. This only works when pilot is run from within an X Window System "xterm" window.
-nn The -nn option enables new mail notification. The n argument is optional, and specifies how often, in seconds, your mailbox is
checked for new mail. For example, -n60 causes pilot to check for new mail once every minute. The default interval is 180 seconds,
while the minimum allowed is 30. (Note: no space between "n" and the number)
-o dir Sets operating directory. Only files within the specified directory are accessible and browsing is limited to the specified direc-
tory subtree.
-v Enable single vertical column display.
-x Disable keymenu at the bottom of the screen.
-z Enable ^Z suspension of pilot.
-q Termcap or terminfo definition for input escape sequences are used in preference to sequences defined by default. This option is
only available if pilot was compiled with the TERMCAP_WINS define turned on.
Authors
Michael Seibel <mikes@cac.washington.edu>
Copyright 1994-2001 by the University of Washington.
See Also
pine(1)
Source distribution (part of the Pine Message System):
ftp://ftp.cac.washington.edu/mail/pine.tar.Z
$Date: 2001/01/02 21:59:52 $
Version 1.1 pilot(1)