12-21-2011
It also works on my Linux system using the "linux standard" ftp, a modified version of the one in
netkit, which is directly derived from BSD source, which the manual page says dates back to 4.2BSD. This might be a very old feature.
This User Gave Thanks to Corona688 For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Maybe it's an stupid question but remeber... I'm Junior..
I use command line to run programs, and some of them gives a lot of information when, for example, you open a window or other actions. That's really bad because my terminal gets full of unwanted messages, so I use "bin file & >/dev/null"... (1 Reply)
Discussion started by: piltrafa
1 Replies
2. UNIX for Dummies Questions & Answers
Hi ,
I am importing some table from /dev/null i dont understand what is /dev/null
Sorry i am new to UNIX
sam71 (3 Replies)
Discussion started by: sam71
3 Replies
3. Shell Programming and Scripting
Hi,
I have a script as follows:
#!/bin/sh
nohup ./my_program >& /dev/null &
However, i get a "Generated or received a file descriptor number that is not valid" whenever I run it.
running the command up in prompt is ok though.
if i change the first line to #!/bin/csh
i get a then:... (4 Replies)
Discussion started by: mochi
4 Replies
4. Solaris
Hi, Anyone can help
My solaris 8 system has the following
/dev/null , /dev/tty and /dev/console
All permission are lrwxrwxrwx
Can this be change to a non-world write ??
any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies
5. Shell Programming and Scripting
Hello,
I'm trying to send the error output of a 'cat' operation to /dev/null like this:
cat /dirA/dirB/temp*.log > /dirA/dirB/final.log 2>/dev/null
This works perfectly in a terminal, but not when placed in a script.
If there are no files matching temp*.log the script outputs an error... (7 Replies)
Discussion started by: Nils88
7 Replies
6. UNIX for Dummies Questions & Answers
How are these two different? They both prevent output and error from being displayed. I don't see the use of the "&"
echo "hello" > /dev/null 2>&1
echo "hello" > /dev/null 2>1 (3 Replies)
Discussion started by: glev2005
3 Replies
7. Shell Programming and Scripting
I apologize if this question has been answered else where or is too elementary.
I ran across a KSH script (long unimportant story) that does this:
if ; then
CAS_SRC_LOG="/var/log/cas_src.log 2>&1"
else
CAS_SRC_LOG="/dev/null 2>&1"
fithen does this:
/usr/bin/echo "heartbeat:... (5 Replies)
Discussion started by: jbmorrisonjr
5 Replies
8. Shell Programming and Scripting
Hello All and a Happy New year to yous guys.
I'm running the below command on my AIX box and it keeps giving me the message that the file doesn't exist. I know the file don't exist, but I don't want to see the error. 2>/dev/null doesn't work.
bash-3.00$ ls -l C* | wc -l 2>/dev/null
ls:... (2 Replies)
Discussion started by: bbbngowc
2 Replies
9. UNIX for Dummies Questions & Answers
I am trying to eliminate an error message from a script. This is the error message:
find: stat() error /usr/openv/netbackup/db/images/KUMAX: No such file or directory
if ];
then
runthiscommand=`su nxadm -c "ssh -t $new3 exec /bin/sh -s">/tmp/filew3 2>/tmp/error.txt<<EOF
... (1 Reply)
Discussion started by: newbie2010
1 Replies
10. UNIX for Dummies Questions & Answers
Hello.
When I run a .ksh that contains the command below, and there is no file available in the source location the "FILE_NAME_*.CSV not found" error is still being displayed.
FILEN=$(ssh ${SOURCE_SERV} "cd ${SOURCE_LOCATION} ;ls ${FILES}") 2> /dev/null.
This is interfering with the rest... (4 Replies)
Discussion started by: jimbojames
4 Replies
MOTHRA(1) General Commands Manual MOTHRA(1)
NAME
mothra - retrieve World-Wide Web files
SYNOPSIS
mothra [ url ]
DESCRIPTION
Mothra retrieves and displays files from the World-Wide Web, by name or through hypertext links. Web names, called URLs, have a peculiar
syntax:
http://netlib.att.com/netlib/1127/www/1127.html
http://akebono.stanford.edu:80/yahoo/
http://www.teleport.com/~crowell/
file:/sys/lib/mothra/help.html
file:html2.elements.html#ADDRESS
ftp://ftp.gmd.de/music/scores/harrington/Harrington.readme
gopher://gopher.bev.net/11/BevBus/King.Video
The part up to the first colon gives the protocol for retrieving the file. http:, Hyper-Text Transfer Protocol, is the usual way of
accessing web files. file: names a file in the local file system. ftp: and gopher: are standard Internet services.
// begins the Internet address of the server where the file resides. The address may contain a colon and a TCP port number, which over-
rides the default port number for the service. Next comes a file name. Finally, the file name may be followed by # and a string giving a
label within the file where the display should begin.
Mothra starts with the url given on the command line, defaulting to the environment variable $url, and finally to
file:/sys/lib/mothra/start.html.
The display contains the last message from mothra, a box where typed commands appear, a scrollable list of previously visited files, the
title and URL of the current file, and the scrollable text of the current file.
Button 1 selects and displays a file, either from the list of previously visited pages or from a link (indicated by underlined text or a
boxed image) in the current file. Button 2 shows the URL of a file, but does not retrieve or display it. Button 3 pops up a menu of com-
mands:
save back
Place a link to the current file in a `back list' for future reference.
get back
Retrieve and display the back list.
fix cmap
Adjust the display's color map so that images will have correct colors.
exit Ask for confirmation and quit.
The typed commands are:
g url Get the page with the given URL.
s file Save the current file in the given file.
q Quit.
?
h Get help.
When mothra retrieves a file that is not an HTML document (for example a GIF or JPEG image), it will start up an appropriate viewer, for
example fb/9v (see 9v(9.1)) for image files.
FILES
/sys/lib/mothra/*
$home/lib/mothra/back.html the back list
$home/lib/mothra/mothra.url log of visited URLs
$home/lib/mothra/mothra.err log of error messages, including HTML syntax errors
SOURCE
/sys/src/cmd/mothra
BUGS
ftp: URLs are not supported.
Files are saved in the form received, not in the form suggested by the name in an s command.
Mothra is distributed in a preliminary state; it has more than its share of bugs.
MOTHRA(1)