07-28-2011
Before you mget, run the binary command.
9 More Discussions You Might Find Interesting
1. Solaris
Hi to all!
I want to learn step by step easily how to configure my Solaris for network. I know alot about Solaris Network configuration. But I have some problems.
When I install Solaris, and I plug-in my network cable to Solaris. Then I run:
ifconfig -a plumb
then I do
ifconfig bge0 dhcp... (7 Replies)
Discussion started by: SecureXCode
7 Replies
2. Shell Programming and Scripting
I'm new to scripting. I'm trying to write a script to download files from ftp site, the following is the script and the message i get after running the script. no files were downloaded :(
Thanks advance!
script:
#!/usr/bin/ksh
DAY=`date --date="-1 days" +%y%m%d`
ftp -v -n "ftp.address" <<... (5 Replies)
Discussion started by: tiff-matt
5 Replies
3. UNIX and Linux Applications
Hello All,
I am using gvim ( redhat linux machine). backspace doesnot work properly. can some boby suggest a solution ?
i have checked with older version. backspace works in it.
Thanks
Shiv (1 Reply)
Discussion started by: shiv.emf
1 Replies
4. Solaris
Hi,
I downloaded unrar from sun-freeware website (unrar-3.68-sol8-sparc-local.gz). After gunzip, I then did:
install -c /usr/local unrar-3.68-sol8-sparc-local
I'm not sure if that was right. Am I installing it correctly?
Hope you can help as I need to open .rar files immediately.
... (4 Replies)
Discussion started by: daytripper1021
4 Replies
5. Shell Programming and Scripting
Hi guys,
I'm new on this forum and on UNIX. Can somebody help in writing a script to download a file from an FTP server and validating if there is a file to download. If there is a file, I would send it to a mail recipient and if not I would generate an error log.
Thanks in advance!:D (1 Reply)
Discussion started by: rjay_45
1 Replies
6. Red Hat
Hi,
I have list of files under a directory as shown below.
/home/root
-rw-r--r-- 1 user 0 Aug 27 06:08 rough.txt
-rw-r--r-- 1 user 0 Aug 27 06:08 test.sh
Now when i use to read the rough.txt, i did cat r and then pressed TAB button. Below is the resulting string after pressing TAB... (2 Replies)
Discussion started by: vel4ever
2 Replies
7. Shell Programming and Scripting
Hi !
I am just wondering shell script to download data from ftp...
I have text file containing ftp address...looks like this
ftp://site...../filename.xyz
ftp://site...../filename.xyz
ftp://site...../filename.xyz
ftp://site...../filename.xyz
script has to read ftp address and... (8 Replies)
Discussion started by: nex_asp
8 Replies
8. Shell Programming and Scripting
Our main Server "Srv1" is used to generate text files based on specified criteria and it is also connected to two clients (pc1 and pc2) which are responsible for getting the files from Srv1 as it follows:
1. pc1 ( which represents my UNIX machine ) uses shell script to copy the files from Srv1
2.... (3 Replies)
Discussion started by: arm
3 Replies
9. Shell Programming and Scripting
Need assistance
I have a script which i can download the files from ftp server using perl . But i want to download multiple files at a time
#!/usr/bin/perl -w
use Net::FTP;
$ftp = Net::FTP->new("ftp.ncdc.noaa.gov");
$ftp->login('username', 'password');
$ftp->cwd("<dir>");... (9 Replies)
Discussion started by: ajayram_arya
9 Replies
LEARN ABOUT ULTRIX
whereis
whereis(1) General Commands Manual whereis(1)
Name
whereis - locate source, binary, and or manual for program
Syntax
whereis [-sbm] [-u] [-SBM dir... -f] name...
Description
The command locates source/binary and manuals sections for specified files. The supplied names are first stripped of leading pathname com-
ponents and any (single) trailing extension of the form ``.ext'', for example,``.c''. Prefixes of ``s.'' resulting from use of source code
control are also dealt with. The command then attempts to locate the desired program in a list of standard places.
Options
-S dir
Search for source files in specified directory.
-B dir
Search for binary files in given directory.
-M dir
Search for manual section files in given directory.
-b Searches only for binary files.
-f Terminates last directory list created from use of -S, -B or -M flags and signals the start of file names.
-m Searches only for manual section files.
-s Searches only for source files.
-u Searches for files that do not have one of binary, source or manual section files. A file is said to be unusual if it does not have one
entry of each requested type. Thus ``whereis -m -u *'' asks for those files in the current directory which have no documentation.
Examples
The following finds all the files in which are not documented in with source in
cd /usr/ucb
whereis -u -M /usr/man/man1 -S /usr/src/cmd -f *
Restrictions
Since the program uses to run faster, pathnames given with the -M -S and -B must be full. That is, they must begin with a ``/''.
Files
/usr/src/*
/usr/{doc,man}/*
/lib, /etc, /usr/{lib,bin,ucb,old,new,local}
whereis(1)