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
Shell :: install python mysqlclient on mac 
Shell :: How to push to a new repositiory in github 
Shell :: ssh transfer file 
Shell :: find rm files older than 30 days 
Shell :: how to install xfce 
Shell :: how to remove remote origin git 
Shell :: install tar.xz in ubuntu 
Shell :: ubuntu open task manager 
Shell :: bash for loop parallel 
Shell :: git pull from previous commit 
Shell :: git global settings ssh 
Shell :: ubuntu start cronjob 
Shell :: delete commit 
Shell :: how to install mono on ubuntui 
Shell :: linux install requirements.txt 
Shell :: sh vs bash 
Shell :: how to push another account git 
Shell :: nextcloud scan files 
Shell :: execute powershell script from command line with parameters 
Shell :: whats home directory variable linux 
Shell :: download ubuntu 16.04 iso 64-bit 
Shell :: flush ip windows 10 
Shell :: push with token github 
Shell :: como desfazer um git add . 
Shell :: tv on ubuntu 
Shell :: turn off monitor commend linux 
Shell :: extract rar linux 
Shell :: add npm to $PATH ubuntu 
Shell :: pulls OS name and version linux 
Shell :: docker-compose command multiple 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =