Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to pass a variable to remote ssh command

$ echo "$argument" | ssh root@remote_server 'cd /root/dir; xargs -0 ./run.sh'
Comment

PREVIOUS NEXT
Code Example
Shell :: install opencv powershell cmake 
Shell :: alpine docker add user and group 
Shell :: bat to delete all ".trashed" files in subfolders 
Shell :: how to know the no of machines running on locust through unix 
Shell :: what is --save-dev check when we install a pachage 
Shell :: function in shell script returning 0 only 
Shell :: download it from Ubuntu package archives from a working computer, save it in a usb drive, mount it from tty1, and then use dpkg to install it. 
Shell :: uninstall Bibata 
Shell :: qemu convert qcow2 to vhd 
Shell :: git push rebase 
Shell :: select all folder except one in command line 
Shell :: install winrt 
Shell :: To exclude files with patterns containing preceding and trailing characters : 
Shell :: how to install red hawk 
Shell :: pvoznyuk github 
Shell :: how to uninstall i7z on ubuntu 
Shell :: on-root/non-service/non-daemon users 
Shell :: untar multiple archives into thier own folders linux command 
Shell :: cmder find file 
Shell :: Fastp github 
Shell :: how to reset password for ubuntu GCP instance 
Shell :: yum snap install --classic certbot 
Shell :: how to make my htdocs folder writable on ubuntu 
Shell :: install webex with wine 
Shell :: escape characters in bash 
Shell :: gst-plugin-scan 100 cpu 
Shell :: install yarn in nginx 
Shell :: laravel mix Uncaught ReferenceError: babelHelpers is not defined 
Shell :: bash script speichern from speed test in influxdb 
Shell :: To configure msmtp, let’s create a file .msmtprc in the current user home directory: 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =