All Questions
6
questions
0
votes
1
answer
71
views
When is useful use "silent" for tty?
If the tty --help command is executed it shows
tty --help
Usage: tty [OPTION]...
Print the file name of the terminal connected to standard input.
-s, --silent, --quiet print nothing, only return ...
0
votes
2
answers
220
views
How to know what is the current tab - number or position - for any Window Terminal?
For Ubuntu and Fedora if is opened a Window Terminal through ctrl + alt + t then is possible open a new tab through shift + ctrl + t. Suppose exists a Window Terminal with 5 tabs. If possible go to ...
1
vote
1
answer
271
views
Unable to get terminal prompt when executing script via ssh
I have the below script that works fine when run locally
cat /tmp/input.sh
echo -n ">> "
read env
exit;
I get the command prompt when i ...
6
votes
2
answers
8k
views
How to remotely detach a screen from another terminal
So I have 2 terminals open in front of me;
/dev/pts/1 - 'the controller'
/dev/pts/2 - 'the receiver'
I am currently using ttyecho to execute commands in /pts2 from /pts1.
I can list the screens - ...
15
votes
2
answers
31k
views
What are the keyboard shortcuts for the command-line?
I'm talking about the keyboard shortcuts that you use in command-line/terminal.
Example: Ctrl+c that kills the process, Ctrl+d that logout, Ctrl+z that send process to background... etc.
I've tested ...
140
votes
16
answers
645k
views
How to connect to a serial port as simple as using SSH?
Is there a way to connect to a serial terminal just as you would do with SSH? There must be a simpler way than tools such as Minicom, like this
$ serial /dev/ttyS0
I know I can cat the output from ...