Skip to main content

All Questions

Tagged with
460 votes
11 answers
668k views

How can I run a command which will survive terminal close?

Sometimes I want to start a process and forget about it. If I start it from the command line, like this: redshift I can't close the terminal, or it will kill the process. Can I run a command in such ...
Matthew's user avatar
  • 5,557
160 votes
5 answers
275k views

How do I attach a terminal to a detached process?

I have detached a process from my terminal, like this: $ process & That terminal is now long closed, but process is still running, and I want to send some commands to that process's stdin. Is ...
Rogach's user avatar
  • 6,373
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 ...
norq's user avatar
  • 4,121
120 votes
4 answers
165k views

How can I create a message box from the command line?

How can I create a message box from the command line, either GUI message boxes or message boxes shown inside the terminal? It would also be interesting to be able to get a simple input back from the ...
Minimus Heximus's user avatar
106 votes
3 answers
164k views

How to signal the end of stdin input

In Bash, I learned that the ending signal can be changed by here document. But by default how can I signal the end of stdin input? I happened to find that with cat and chardet, their stdin inputs can ...
Tim's user avatar
  • 103k
95 votes
8 answers
413k views

Connect to a Bluetooth device via Terminal

I'm using Mint 15 w/ Cinnamon. I bought a set of bluetooth speakers and I'm trying to connect to them via terminal. Via the GUI I can see them normally and I am connected to them. I want to make a ...
Zippie's user avatar
  • 1,889
93 votes
3 answers
258k views

What is the best text-mode web browser? [closed]

I'm looking for one that is frequently updated and full-featured.
Zignd's user avatar
  • 3,143
84 votes
10 answers
60k views

Converting colored output into html

There are tools providing coloured output: dwdiff -c File1 File2 # word level diff grep --color=always # we all know this guy ... The question is: How to convert their colored output of arbitrary ...
Grzegorz Wierzowiecki's user avatar
74 votes
7 answers
165k views

SSH inside SSH fails with "stdin: is not a tty"

I'm trying to connect to machine one with ssh and then connect to another machine two with ssh, but I get this error. ssh [email protected] 'ssh [email protected]' stdin: is not a tty ...
Jhonathan's user avatar
  • 3,665
72 votes
2 answers
330k views

Sending messages to another user

Is there any command to send messages through the Linux shell to other people on the same network? I'm using write user and then write the message itself. But there's any command that doesn't show my ...
Ricardo Almeida's user avatar
61 votes
3 answers
30k views

Disable CTRL-D from closing my window with the terminator terminal emulator) [duplicate]

I am often logged in several SSH sessions at once. To logout from several sessions, I press CTRL+d, until I am back on my local machine. However, I occasionally press it once too many, and my terminal ...
Martin Vegter's user avatar
60 votes
4 answers
127k views

Encode with ffmpeg using avi to mp4

What command lines to use to convert from avi to mp4, but without destroying the framesize and making the file small as the original size or a little bit bigger, and same thing with mp4 to avi? ...
dale's user avatar
  • 767
57 votes
4 answers
529k views

How do I exit or cancel a bad bash command?

I expect to get some flak for this, but I can't find the answer anywhere. It seems like it should be so obvious. Sometimes, when I type a bad command in a bash terminal, the cursor just jumps down to ...
Big McLargeHuge's user avatar
51 votes
2 answers
16k views

How do I check whether my shell is running in a terminal?

I want to perform some action only if my shell is "connected" to a terminal, i.e. only if my standard input comes from a terminal's input and my standard output (and standard error? maybe that doesn't ...
einpoklum's user avatar
  • 9,653
50 votes
2 answers
17k views

How to permanently disable Ctrl-s in terminal?

From here I understand that to disable Ctrl+S the stty -ixon command can be used and it works, but as soon as I close the terminal and open another I have to re-enter the command. To permanently ...
Cristian's user avatar
  • 735

15 30 50 per page
1
2 3 4 5
22