Sponsored Content
Full Discussion: SSH - remote output locally
Top Forums Shell Programming and Scripting SSH - remote output locally Post 302873869 by squrcles on Wednesday 13th of November 2013 10:47:17 AM
Old 11-13-2013
Thanks,
I have a few more directories to search on the host, that's why I attempted to do it via a here doc
 

10 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

invoke remote graphical application..and display locally

Hi, I want to invoke(run) a graphical application remotely, and the display should be in remote itself. (no X redirect).i want to do this through ssh. like if i login to a remote machine and run firefox it should display there itself. how can i do this..? (2 Replies)
Discussion started by: madhusudankh
2 Replies

2. Shell Programming and Scripting

Logging Remote SSH command (cannot log a java output)

Hi all I'm creating a script that runs a few commands on some boxes and everything can be logged EXCEPT the java -version command, there doesn't seem to be any output... Can anyone help explain why this does not work? Do I need to do something extra to append the output from the java... (3 Replies)
Discussion started by: Keepcase
3 Replies

3. Solaris

how to login with ssh to remote system with out applying the remote root/usr password

how to login with ssh to remote system with out applying the remote root/user password with rlogin we can ujse .rhosts file but with ssh howits possible plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

4. Shell Programming and Scripting

Reading file from remote system and work on it locally

Hi! I am still fairly new to shell programming, but I have taken an interest to it and want to try some new stuff. I intend to make a shell script (using bash) to read a file on a remote system, then do some work on it on the local system and display it. In the long run I want to have a... (9 Replies)
Discussion started by: aaOzymandias
9 Replies

5. UNIX for Advanced & Expert Users

Using remote rsync, but copy locally?

I'm looking to use rsync to compare remote files and to copy the diff to a local directory, rather than transfer over the net. The net connection is not fast enough to transfer these files (~1.8TB) and I'd like to sneakernet them instead. Possible? (4 Replies)
Discussion started by: dfbills
4 Replies

6. Shell Programming and Scripting

Editing a file on remote server using shell script locally

Hi All, I have below requirements for my project: 1. Building a shell script which connects to a remote server 2. running script on local machine as user 'A' 3. connecting to server using user 'B' with password 4. login with a powerbroker role 'P' (asks for same password as 'B') on that... (1 Reply)
Discussion started by: Nishant Ladiwal
1 Replies

7. Shell Programming and Scripting

Editing a file on remote server using shell script locally

Hi Scott, My previous post was not for any school or college projects. I am currently working with a IT company (Cannot provide more details than this). I am trying to implement the below script in my day-to-day work, Apologies for the confusion in previous post :). My question remains same... (4 Replies)
Discussion started by: Nishant Ladiwal
4 Replies

8. Shell Programming and Scripting

How to execute command remotely as sudo and save the output locally?

Hello , I am trying to run a NetBackup command in remote server. Also this command can only be run by root so I am using sudo . Also I want the output of the command locally in a file. The below command asked for password , ran successfully and showed Output on my local server screen ... (2 Replies)
Discussion started by: rahul2662
2 Replies

9. Shell Programming and Scripting

Getting SSH Output From Remote to Local Session?

Hi everyone, after about 2 days of scratching my head on this one, I'm finally ready to punt this and ask for some actual help. Here's the situation. We have 1 server, that runs multiple VM's. To gain access to those VM's we ssh from host01 to the other vm hosts. For example when we first log... (4 Replies)
Discussion started by: Lost in Cyberia
4 Replies

10. Shell Programming and Scripting

awk remote multiple hosts print remote hostname and output

Hi all, i'm trying to gether multiple pattern on remote hosts, and trying to print hostname and the pattern, ssh remoteserver1 -C 'hostname 2>&1;cat /var/log/server1.log | awk -F ";" '"'"'{ print " "$2" "$5}'"'"'| sort | uniq -c | sort -g -r ' The output is the following, remoteserver1 ... (8 Replies)
Discussion started by: charli1
8 Replies
DH_OCAMLDOC(1)						User Contributed Perl Documentation					    DH_OCAMLDOC(1)

NAME
dh_ocamldoc - Generates documentation for OCaml libraries SYNOPSIS
dh_ocamldoc [debhelper options] DESCRIPTION
dh_ocamldoc looks for all files matching "debian/$package.ocamldoc*" where it can find the flags that will be given to ocamldoc, which will be called with all the .mli files (or .ml if there is no matching .mli) found in debian/package/usr/lib/ocaml. Each ".ocamldoc*" file is used to generate a different documentation where the part coming after "ocamldoc" in the filename is used as document ID in the doc-base file. You can have several flags per line. Lines beginning with "--include" have a special meaning: whatever follows "--include" will be considered as a list of directories where .mli or .ml files will be searched for the documentation generation. The directories will also be added to ocamldoc library search path. This can be useful for generating the documentation in its own binary package. Note that, to that end, you should ensure that the package shipping the documentation is treated by dh_ocamldoc after the package shipping the actual objects. The "-d" flag is detected and used to generate the appropriate doc-base file. It contains the path of the documentation directory and is relative to "/usr/share/doc/$package/". The default value is "html/api". dh_ocamldoc detects automatically if "ocamlfind ocamldoc" should be called instead of plain "ocamldoc" (it does so by looking for common ocamlfind options such as: -package, -predicates, etc.). Lines starting with "#" in *ocamldoc files are comments and hence ignored. If you want to install the documentation present in upstream's tarball (if any), you may add "--doc-base-generate" in your .ocamldoc file in order to tell dh_ocamldoc generate the .doc-base file only. OPTIONS
-X files Exclude files from documentation processing. -u flags Additional flags to "ocamldoc" or "ocamlfind ocamldoc". SEE ALSO
debhelper(7), dh(1), dh_ocaml(1) This program is meant to be used together with debhelper. AUTHOR
Mehdi Dogguy <mehdi@debian.org> perl v5.14.2 2013-01-06 DH_OCAMLDOC(1)
All times are GMT -4. The time now is 08:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy