04-08-2009
If you have a newer version of putty, that includes pageant, pscp, plink...
Authenticate using pageant, and use plink to initiate a remote command from your PC writing the output to a file, then use pscp to copy the output to your pc.
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
I have a small problem, there is one Win98 PC on our network, and I would like to map the FTP server that we have as one of the Win98's machine's local drives. I am by no means a Windows expert, instead my area is *NIX. The webserver is just a regualar webserver, within the LAN. I tried... (18 Replies)
Discussion started by: cerberusofhate
18 Replies
2. UNIX for Dummies Questions & Answers
Hi everybody. I need help and I hope someone is willing to help me out here.
My wholesale company is currently moving to new software. The old software is running on a UNIX platform. We need to migrate data from the UNIX system, but our former software provider refuses to assist the data... (5 Replies)
Discussion started by: Wdonero
5 Replies
3. UNIX for Dummies Questions & Answers
I would like automate the process of copying some logs files from a server to my local hard drive at a set time each week/day.
I don't really know anything about creating and scheduling jobs. Is this something I could setup relatively easily?
I would like to automatically copy all the logs... (1 Reply)
Discussion started by: Sepia
1 Replies
4. Solaris
I have to setup a local zone and need to share the fiber attached tape drive that is connected to the global zone.
What is the best way to do this? Will sharing the /dev/rmt directory via lofs work?
Any help is appreciated! (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
5. Shell Programming and Scripting
Hi,
I am quite new to Perl scripting and i need to create a .TXT file using perl, with fields (A,B,C,D,E), and this text file should be named with current file creation date "XYZ_CCYYMMDD.TXT" (i.e.XYZ_2011042514:33 PM).
Can anyone who has done this, please share their expertise on this... (5 Replies)
Discussion started by: msrahman
5 Replies
6. Shell Programming and Scripting
Dear Members,
I have a table in Oracle DB and one of its column name is INFO which has data in text format which we need to fetch in a script and create an xml file of a new table from the input.
The contents of a single cell of INFO column is like:
Area:app - aam
Clean Up Criteria:... (0 Replies)
Discussion started by: Yoodit
0 Replies
7. Shell Programming and Scripting
Hi,
I need help in creating a file in specific format.
I have following lines in a file
0772
0ECC
0FC8
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089 (6 Replies)
Discussion started by: jpkumar10
6 Replies
8. UNIX for Dummies Questions & Answers
I would imagine that it is possible to have a command's on-screen output placed into a text file; the difficulty I'm having is in getting that text file saved on the local server, while issuing the command on the remote server
Thanks!
-AJ
:wall: (1 Reply)
Discussion started by: AJ-102111
1 Replies
9. Shell Programming and Scripting
while running the following code in ssh crontab, Its running successfully
but its not creating text file IFC1.txt, file1.txt, file2.txt
while running manually its working.
please help me
#!/bin/ksh
hostname > file1.txt 2>/dev/null
hostname >> file1.txt 2>/dev/null
sudo df -h | grep... (2 Replies)
Discussion started by: elango963
2 Replies
10. Debian
Hello,
I want to install a .deb package which I already have on the hard drive. I have tried to edit /etc/apt/sources.list to point to the file but apt-get says it can't find it. The package is not in the Debian repository.
Debian 6.0 (3 Replies)
Discussion started by: snorkack59
3 Replies
LEARN ABOUT DEBIAN
dh_usrlocal
DH_USRLOCAL(1) Debhelper DH_USRLOCAL(1)
NAME
dh_usrlocal - migrate usr/local directories to maintainer scripts
SYNOPSIS
dh_usrlocal [debhelperoptions] [-n]
DESCRIPTION
dh_usrlocal is a debhelper program that can be used for building packages that will provide a subdirectory in /usr/local when installed.
It finds subdirectories of usr/local in the package build directory, and removes them, replacing them with maintainer script snippets
(unless -n is used) to create the directories at install time, and remove them when the package is removed, in a manner compliant with
Debian policy. These snippets are inserted into the maintainer scripts by dh_installdeb. See dh_installdeb(1) for an explanation of
debhelper maintainer script snippets.
If the directories found in the build tree have unusual owners, groups, or permissions, then those values will be preserved in the
directories made by the postinst script. However, as a special exception, if a directory is owned by root.root, it will be treated as if it
is owned by root.staff and is mode 2775. This is useful, since that is the group and mode policy recommends for directories in /usr/local.
OPTIONS
-n, --noscripts
Do not modify postinst/prerm scripts.
NOTES
Note that this command is not idempotent. dh_prep(1) should be called between invocations of this command. Otherwise, it may cause multiple
instances of the same text to be added to maintainer scripts.
CONFORMS TO
Debian policy, version 2.2
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Andrew Stribblehill <ads@debian.org>
9.20120909 2011-09-12 DH_USRLOCAL(1)