Linux Bash & Shell: Difference between revisions

From Sea of Fate
Jump to navigationJump to search
No edit summary
 
Line 5: Line 5:
==The Scripts==
==The Scripts==


===[[Open several ssh terminals at once]]==
===[[Open several ssh terminals at once]]===


I had already set up password less terminals opening to several common hosts with the format "ssh hostname", I thought it would be nice to open a terminal to all of the prod hosts from a script. then i thought it would be good to give it an alias.
I had already set up password less terminals opening to several common hosts with the format "ssh hostname", I thought it would be nice to open a terminal to all of the prod hosts from a script. then i thought it would be good to give it an alias.

Latest revision as of 18:34, 28 February 2025

Introduction

Continuing the theme of Random stuff and more particularly of Code Snippets here is some shell scripts for Linux

The Scripts

Open several ssh terminals at once

I had already set up password less terminals opening to several common hosts with the format "ssh hostname", I thought it would be nice to open a terminal to all of the prod hosts from a script. then i thought it would be good to give it an alias.