Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ubuntu send input to screen

# start a new screen test running the command bash
screen -dm -S test bash

# send "echo it worked
" to the screen
screen -S test -p 0 -X stuff "echo it worked^M"

# display the screen, it should have runned the command "echo it worked"
screen -r test
Comment

PREVIOUS NEXT
Code Example
:: jitsi run pod ios app !] Invalid `Podfile` file: cannot load such fil 
Shell ::  
Shell :: macos make file executable 
:: debian get minor version 
::  
Shell :: git grep in commits 
Shell ::  
Shell ::  
:: find exec rm 
Shell :: Display lines containing the pattern “root” and 3 lines after them in the file /etc/passwd. 
::  
::  
::  
:: user current process in linux 
Shell :: how to test if docker is running from boot 
::  
Shell ::  
:: whats the file path for the documents folder linux 
Shell :: How to open webpage in vbscript 
Shell :: npm install version 
Shell :: install gulp ubuntu 
:: git commit messages 
Shell :: bash regex match 
Shell :: wget file from google drive 
Shell :: create permanent git credentials windows 
:: git pull from template repository 
:: create directory linux 
Shell ::  
:: conda install cairo 
Shell :: how to start xammp on linux 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =