Sponsored Content
Top Forums Shell Programming and Scripting Need solution for my bash script executed localy for ssh remote machine Post 303046052 by sea on Wednesday 22nd of April 2020 12:33:43 PM
Old 04-22-2020
Yes.
You had answered your own question before you were asking Smilie

Last edited by sea; 04-22-2020 at 01:35 PM.. Reason: time grammer, hopefuly
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

executng program on remote machine using ssh

I am trying to search and remove files from a list of servers. I want to find every occurence of this file on each machine and then remove it. If I execute the find command on the remote machine I would like to be able to pipe the output to xargs and remove the file. Does anyone know hat would be... (1 Reply)
Discussion started by: sewood
1 Replies

2. Shell Programming and Scripting

executing command in a remote machine through ssh - shell script

Hi All, i have two machines like x and y . my requirement is i should connect to machine Y from x through ssh connection . and do some operation such as copy and move and delete files in Y machine . i tried with this code but it is doing in machine x only . and i need to exit from Y when... (1 Reply)
Discussion started by: rateeshkumar
1 Replies

3. Shell Programming and Scripting

Cannot create variables via ssh on remote machine

Hello to all Background info: Local machine : Linux, /bin/bash Remote machine (for the user used for ssh) : SunOs, /bin/ksh (so we have different OS, different Shells) My problem : From the local host i execute $ var=bla $ result=$(ssh -q user@remote-machine " > echo \"this is... (12 Replies)
Discussion started by: black_fender
12 Replies

4. UNIX for Dummies Questions & Answers

how to use ssh to run shell script on a remote machine?

how to use ssh to run shell script on a remote machine? ssh user@remote sh ./script.unx i ran the above command ./script.unx HAS NOHUP COMMAND IN ITS BODY, I AM GETTING ERROR AS NOHUP NOT FOUND... i tried to run that script from remote server, its working fine do ineed to set... (6 Replies)
Discussion started by: only4satish
6 Replies

5. Shell Programming and Scripting

bash script to execute a command remote servers using ssh

Hello, I am running into few issues, please suggest me what I am missing. I am running this script on a linux host. Main idea of this script is to, login to each host via ssh and get uid of user, service user that I trying to run this script, has already deployed ssh keys and provide sudo... (8 Replies)
Discussion started by: bobby320
8 Replies

6. Shell Programming and Scripting

Mount fails (because remote machine is off) bash script stops

Hi, I'm trying to automate a couple of mounts. (I would do this in fstab, but the auto feature causes the virtual machine I'm running in to freeze when it boots up) If the machine I'm trying to connect to is OFF, I get the host unreachable error and then the bash script stops. The problem is... (3 Replies)
Discussion started by: jdilts
3 Replies

7. Red Hat

iptables applied in local machine, can't ssh remote machine after chain changed to DROP

I want to SSH to 192.168.1.15 Server from my machine, my ip was 192.168.1.99 Source Destination was UP, with IP 192.168.1.15. This is LAN Network there are 30 Machine's Connected to the network and working fine, I'm Playing around the local machine's because I need to apply the same rules in... (2 Replies)
Discussion started by: babinlonston
2 Replies

8. Linux

Executing a script in remote machine through ssh

How to execute a script in remote machine through ssh I have a script test.sh which does some backup activity in remote machine. Wanted to keep backup also in remote machine. ssh -l username <remote machine> "commands to be exceuted as ; separted" but how to put the script in the place of... (5 Replies)
Discussion started by: sanvel
5 Replies

9. Shell Programming and Scripting

Check/get the exit status of a remote command executed on remote host through script

Geeks, Could you please help me out in my script and identify the missing piece. I need to check/get the exit status of a remote command executed on remote host through script and send out an email when process/processes is/are not running on any/all server(s). Here's the complete... (5 Replies)
Discussion started by: lovesaikrishna
5 Replies

10. Shell Programming and Scripting

Ssh bash script exits without remote command completion

Hi, My goal is to connect from unix server A to windows server B and call a bat file on windows. I am able to succeed in remoting to windows and executing a command, the issue i am facing is the shell scrip is exiting without making sure of bat file success. Can you please help me in... (4 Replies)
Discussion started by: pxp018
4 Replies
HAMEXAM(1)						      General Commands Manual							HAMEXAM(1)

NAME fccexam - Study guide for USA FCC commercial radio license examinations.
SYNOPSIS
fccexam [option] DESCRIPTION
fccexam presents questions in random order from the selected question pool, and terminates when all questions have been answered correctly. The session may be interrupted with ^C, and resumed later. Some questions refer to diagrams. The diagrams for the selected question pool are displayed in a separate window using eog(1). Licenses are issued by the Federal Communications Commission (FCC), but examinations are administered by COLEM examiners. See http://wire- less.fcc.gov/commoperators/index.htm?job=home for information regarding USA commercial radio licenses. OPTIONS
If no pool is specified, usage, version, and help information is displayed. To initialize the question pool, one of the element numbers may be specified: 1 Element 1, Basic radio law and operating practice. 3 Element 3, General Radiotelephone; Electronic fundamentals and techniques required to adjust, repair, and maintain radio transmit- ters and receivers. 5 Element 5, Radiotelegraph operating procedures and practices. 6 Element 6, Advanced technical, legal, and other matters applicable to the operation of all classes of radiotelegraph stations. 7 Element 7, GMDSS Radio Operating Practices. 7R Element 7R, Restricted GMDSS Radio Operating Practices. 8 Element 8, Ship Radar Techniques. 9 Element 9, GMDSS Radio Maintenance Practices and Procedures. The following abbreviations may be used to select multiple elements: T1 First Class Radiotelegraph: elements 1, 5, 6. T2 Second Class Radiotelegraph: elements 1, 5, 6. T3 Third Class Radiotelegraph: elements 1, 5. GROL General Radiotelephone Operator License: elements 1, 3. GROL+ General Radiotelephone Operator License + Radar: elements 1, 3, 8. MROP Marine Radio Operator Permit: element 1. GMDSS Global Maritime Distress Safety System Radio Operator: elements 1, 7. GMDSS+ GMDSS Radio Maintainer + Radar: elements 1, 7, 8, 9. RGMDSS Restricted GMDSS Radio Operator: elements 1, 7R. q The question pool is selected interactively. This is needed when starting the application from an icon. FILES
A directory ~/.fccexam is created to hold the names of the questions which remain to be answered correctly. SEE ALSO
For more information regarding licensing, ref. http://wireless.fcc.gov/commoperators/index.htm?job=home For information regarding amateur radio licensing (ham radio), see the package hamexam. COPYRIGHT
fccexam is Copyright (c) 2011-2012 John Nogatch <jnogatch@yahoo.com>. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. BUGS
The question pools, and number of questions required, are sometimes modified; ref. http://wireless.fcc.gov/commopera- tors/index.htm?job=question_pools Radiotelegraph Operator licenses also require Morse code proficiency elements, which are not provided by fccexam. fccexam does not automatically update the question pools from the FCC Web site. HAMEXAM(1)
All times are GMT -4. The time now is 10:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy