0
votes
1answer
110 views

How to use Console2 with tmux

I am able to start tmux using the mintty terminal included with cygwin. However, when using Console2 (running on 64-bit windows 7 and using C:\cygwin64\bin\bash.exe as the shell), I get the following ...
2
votes
1answer
135 views

Command for printing output to console and file at same time on different threads

I am writing a bash script and would like the very last command to start as a separate process. The last command also sends all output to a file. I also, however, want the output to still appear on ...
1
vote
3answers
69 views

Bash rename to time

How can I rename a file to match the current (rounded) time. If it is for example 10:55 or 11:05 then I would like to rename it to 11. Something like this: mv file.txt file_`date +%H`.txt but with ...
1
vote
2answers
222 views

See all output from commands performed inside screen

I am using screen (http://www.gnu.org/software/screen/manual/screen.html) to access my minecraft console. I created a server in /etc/init.d, and have minecraft running in the background. Then, to ...
0
votes
0answers
48 views

Take back Ctrl-/ from Debian console configuration

My Debian Testing console is stealing my Ctrl-/ and using it as Backspace; Ctrl-/ is the single key-press Undo in bash and emacs. After some research, it looks like the Ctrl-/ -> Backspace mapping ...
1
vote
3answers
392 views

Auto propagation of bash settings across many machines?

I need to console to many machines through SSH. Including Linux, Mac, mobile devices, virtual machines. Sometimes I need to login to more than 10 machines in one day. I enjoy my personal .bashrc or ...
0
votes
2answers
504 views

Capturing the console output

I am running a Hadoop hive query from shell script. This is how I am doing it in my shell script. echo "SELECT COUNT(*) FROM test" | hive I want to capture the output whatever hive command outputs. ...
0
votes
1answer
127 views

file to store the bash settings for a virtual terminal

When You press [ALT+F1...F6] on Linux machine You see "virtual terminal" usually. When I log in via virtual terminal on my Debian machine - bash does not implement settings from $HOME/.bashrc and ...
1
vote
1answer
30 views

Console hotkeys

In text editors i like to use hotkeys: ctrl+arrow, ctrl+shift+arrow, ctrl+shift+(end|home). Is any way to do this in console? Im using /bin/bash, I know it was many other shells, but I know about ...
3
votes
1answer
162 views

Linux terminal - frozen update of input but can execute commands?

How do I restart a shell session from within SSH when it looks something like this: anton@ubuntu:~$ c: command not found anton@ubuntu:~$ lib ...
0
votes
1answer
68 views

basic bash console mac

I am very inexperienced with the console, I have been exploring rails and somehow my command root in the console used to be: Ross-MacBook-Pro:....$ inadvertently it has now been changed to: ...
1
vote
3answers
120 views

Console prompt in bash changed unexpectedly

In bash, my default console prompt looked like this: kit:~ Kit$ I do not know what I did to make it change to this: 112:~ Kit$ What caused the 112: to appear? I'm in a different network, where ...
4
votes
3answers
35k views

How to execute python script from console without writing full path?

I have a few python scripts on /usr/share/scripts/ that I use often, and I want to be able to execute them by just writing the name and not the full path, how could I do this? echo $PATH shows me: ...
3
votes
1answer
1k views

How can Console2 use the current directory as the name of a bash tab?

Is this possible at all? (basically a pendant to cmd.exe's title command that Mikel's answer mentions, although I'd prefer changing the entire tab name instead of adding a window title)
2
votes
2answers
602 views

Open terminal after running shell script

I have a shell script for my LXDE desktop, which runs rdiff-backup. What I would like is for this to open up a terminal with the output. Coming from Windows, this would automatically be done. ...
0
votes
2answers
125 views

How can I better manage my console windows?

I'm using Gnome/Debian and I'm constantly always opening new console windows ( I have my Windows key mapped to invoke gnome-terminal ). It's a bit frustrating because after a few hours of work I'll ...
5
votes
2answers
5k views

How do you change the default TERM value set at console login (Ubuntu)?

The $TERM shell value in Ubuntu defaults to "xterm" for a console login. How can I change it so it defaults to "xterm-color"? I'm asking because it looks like this is the easiest way to turn-on the ...
5
votes
4answers
8k views

Is there a way to get iTerm + Bash usability on Microsoft Windows?

I've been using Bash for years and I really like iTerm. Is there a way to get that level of console usability for Micosoft's Windows cmd? By that I mean the sane tab completion, history (even if you ...