10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All!
I am trying to write a little script that should go to a windows server get one file and put on a unix server, but I am not sure if it is the right way please help:
#! /usr/bin/sh
HOST=10.100.48.41
USER=ftp_hm
PASSWD=P@$$w0rd
ftp -n $HOST
quote user $USER
quote pass $PASSWD... (7 Replies)
Discussion started by: fretagi
7 Replies
2. Shell Programming and Scripting
Hi,
I want a script , which searches the log for the term/phrase "JFSnapshotService::systemSnapshot: Starting data capture. This may take awhile depending upon system workload." and if there is some logging like this, it has to mail me that this data capture process is happening.,
Below is... (2 Replies)
Discussion started by: cratercrabs
2 Replies
3. Shell Programming and Scripting
Hi All,
Is ther any way to write the script with source trigger ?
To trigger the script on particular time we have crontab.
Similarly in a path, when a file comes particular script has to run.
Thanks:) (7 Replies)
Discussion started by: jesu
7 Replies
4. Shell Programming and Scripting
Hi, I am new to this subject.....Can someone please help me out with the script...
unix usernm "sdhftst"
unix pwd "chsd13"
windows usernm "dfghtst"
windows pwd "chsd13"
path..../xxx/xxxxx/xxxxxx/xxxxxxx
please can u get me a script...its only one file to get ftp.
Thanks... (2 Replies)
Discussion started by: himakiran9
2 Replies
5. Shell Programming and Scripting
Hello,
from log error file of process that i's updating in append mode, i need to capture the new entries for every day.
How i can know and save only the new errors?
This it's a sample of error log file (oas report server engine)
thanks and regards
Fran (2 Replies)
Discussion started by: fran61
2 Replies
6. Shell Programming and Scripting
Hi Experts,
I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers.
Could some body provide the inputs for this.
and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies
7. Shell Programming and Scripting
We had a requirement like we should find the user whoever logged into sqlplus through UNIX automatically.
For that we should write a script and store the result in file.
we will get that user manually by using WHO command.
can anybody help me how to trigger?
I tried many commands beyond... (1 Reply)
Discussion started by: siri_886
1 Replies
8. UNIX for Dummies Questions & Answers
Hi Buddies,
I have a unix client and want to send a message (containg some data) to a windows Database server to query from it and return the result.
I shall be so thankfull if you help me out.:b::)
Warm Regards,
Jessi (1 Reply)
Discussion started by: jessica-adams
1 Replies
9. Shell Programming and Scripting
Hi
I'm new working in UNIX, So, I want to know How I can send a file from UNIX to Windows server with FTP. This is my script.
ftp -i -n -v <<**
open 199.99.99.99
user user1 password1
lcd C01_07_06 /* source/
cd //199.98.98.98/group1/reports /*destination*/
put file1.sh ... (1 Reply)
Discussion started by: edzela
1 Replies
10. UNIX for Dummies Questions & Answers
Is there an easy way (besides samba) to send a file from a unix server to a win98 machine across a network. I am on a SCO server and need to send the file to a windows machine so the program on the machine does not keep on looking for it on my server. It checks for a new file every couple of... (5 Replies)
Discussion started by: umpi_97
5 Replies
FINDSMB(1) User Commands FINDSMB(1)
NAME
findsmb - list info about machines that respond to SMB name queries on a subnet
SYNOPSIS
findsmb [subnet broadcast address]
DESCRIPTION
This perl script is part of the samba(7) suite.
findsmb is a perl script that prints out several pieces of information about machines on a subnet that respond to SMB name query requests.
It uses nmblookup(1) and smbclient(1) to obtain this information.
OPTIONS
-r
Controls whether findsmb takes bugs in Windows95 into account when trying to find a Netbios name registered of the remote machine. This
option is disabled by default because it is specific to Windows 95 and Windows 95 machines only. If set, nmblookup(1) will be called
with -B option.
subnet broadcast address
Without this option, findsmb will probe the subnet of the machine where findsmb(1) is run. This value is passed to nmblookup(1) as part
of the -B option.
EXAMPLES
The output of findsmb lists the following information for all machines that respond to the initial nmblookup for any name: IP address,
NetBIOS name, Workgroup name, operating system, and SMB server version.
There will be a '+' in front of the workgroup name for machines that are local master browsers for that workgroup. There will be an '*' in
front of the workgroup name for machines that are the domain master browser for that workgroup. Machines that are running Windows for
Workgroups, Windows 95 or Windows 98 will not show any information about the operating system or server version.
The command with -r option must be run on a system without nmbd(8) running. If nmbd is running on the system, you will only get the IP
address and the DNS name of the machine. To get proper responses from Windows 95 and Windows 98 machines, the command must be run as root
and with -r option on a machine without nmbd running.
For example, running findsmb without -r option set would yield output similar to the following
IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
---------------------------------------------------------------------
192.168.35.10 MINESET-TEST1 [DMVENGR]
192.168.35.55 LINUXBOX *[MYGROUP] [Unix] [Samba 2.0.6]
192.168.35.56 HERBNT2 [HERB-NT]
192.168.35.63 GANDALF [MVENGR] [Unix] [Samba 2.0.5a for IRIX]
192.168.35.65 SAUNA [WORKGROUP] [Unix] [Samba 1.9.18p10]
192.168.35.71 FROGSTAR [ENGR] [Unix] [Samba 2.0.0 for IRIX]
192.168.35.78 HERBDHCP1 +[HERB]
192.168.35.88 SCNT2 +[MVENGR] [Windows NT 4.0] [NT LAN Manager 4.0]
192.168.35.93 FROGSTAR-PC [MVENGR] [Windows 5.0] [Windows 2000 LAN Manager]
192.168.35.97 HERBNT1 *[HERB-NT] [Windows NT 4.0] [NT LAN Manager 4.0]
VERSION
This man page is correct for version 3 of the Samba suite.
SEE ALSO
nmbd(8), smbclient(1), and nmblookup(1)
AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open
Source project similar to the way the Linux kernel is developed.
The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open
Source software, available at ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to
DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
Samba 3.5 06/18/2010 FINDSMB(1)