A combination of display monitor and keyboard (or other device that allows input) for system monitoring and administration.

learn more… | top users | synonyms

3
votes
4answers
1k 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 ...
3
votes
1answer
2k views

Linux SSH: connect to existing console?

I know how to SSH into a Linux machine from a generic terminal. My question is: Can I use a terminal only to display the contents on an existing console on the remote machine, ignoring my local ...
3
votes
1answer
2k 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)
3
votes
2answers
1k 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 ...
3
votes
2answers
1k 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 ...
3
votes
6answers
19k views

How to find folders over 1GB and execute another command in linux terminal?

I want to find the folders which sizes are over 1GB and then if they are over then I want to erase them. I found some commands like find /some/path -type d -size +1G -exec ls {} \; or du -h ...
3
votes
1answer
2k views

Ubuntu server console display problems

I've just installed Ubuntu Server on an old PC I've had hanging around the house. It didn't exactly go smoothly, to say the least. When I first turned it on, it wouldn't boot because the CMOS needed ...
3
votes
1answer
1k views

Understanding the terminal and shell interaction

For a long while my understanding about a terminal in unix-like systems has been that it launches the shell process and provides a user interface to it by communicating with it over it's stdin, stdout ...
3
votes
1answer
817 views

Is it possible to make Ctrl+C as responsive as Ctrl+Break in the Windows 7 console?

Is it possible to make Ctrl+C act like Ctrl+Break in the Windows 7 cmd.exe console? By default Ctrl+C seems to only send a signal the next time the input buffer is read, where Ctrl+Break sends a ...
3
votes
1answer
313 views

Best way to visualize graph on a text console?

I looking for a solution to visualize a graph on a standard unix text console. Speaking more precisely I need to visualize a graph of dependencies between files from specified set, those dependencies ...
3
votes
3answers
369 views

How to get back the control of the screen/keyboard on my Linux system

I have a Linux system running (Debian). It is working perfectly from a remote point of view. I can ssh in it, it has the imap running correctly, and a couple of kvm systems running (I can also ssh to ...
3
votes
2answers
6k views

Is it possible to modify the output column delimiter in MySQL query results?

Is it possible to modify the string used to delimit output columns in command line MySQL query results? E.g. could I change | to ! or ||?
3
votes
4answers
398 views

Why does Ubuntu 9.04 console not work with Windows 7 Windows Virtual PC?

Here's a screen shot of my console in an Ubuntu 9.10 desktop live CD installed onto a Windows 7 Windows Virtual PC machine, and then stripped of the X/gnome environment: Note that the Grub part ...
3
votes
1answer
122 views

Auto navigation in windows registry editor?

Is there any tweak to open a particular registry key in registry editor from console/command mode ? Say like If I want to view this key in registry editor ...
3
votes
2answers
131 views

mouse interaction with ls output - click to open

I would like to be able to (double) click a file from the ls output and open it with the associated program. Anyone knows a way to do this? Mouse-console interaction is possible with GPM and links ...
3
votes
1answer
594 views

Console.app alternative for Terminal

Is there a neater way to follow console messages in Terminal rather than tail -f tons of logs?
3
votes
1answer
142 views

In a dual monitor setup, how to find which monitor a given window is on?

I am writing a python script to resize and organize windows, just like the grid plugin does in compiz-fusion(except that I am on Debian Wheezy). I am using xrandr and wmctrl to get the resolutions of ...
3
votes
1answer
191 views

How to output a simple network activity plot in console in Linux?

There's tload that plots load average. There's iftop that network usage as bars. How to do something like this: # tcpdump -i eth0 --plot 'host 1.2.3.4' 13:45:03 | | 0 in 0 ...
3
votes
1answer
239 views

Safari Javascript Console Autoscrolling

Is it possible to make the javascript console in Safari 6 automatically scroll down to show the most recent log? Currently, I have to manually scroll down every time I log something.
3
votes
1answer
169 views

Updating a modified Prestashop

I don't know if this is the proper forum for this; didn't really seem like a Stack Overflow question, so if I'm in the wrong here, do point me to the correct SE site. Anyway, I have a Prestashop ...
3
votes
1answer
412 views

Linux console resolution too high

I am using Debian squeeze (2.6.32-5-amd64) on a single board computer powered by as Intel Atom CPU D425 the graphic controller is detected as "VGA compatible controller: Intel Corporation N10 Family" ...
3
votes
2answers
489 views

GNU Screen: Combining split-regions and full-screen sessions

Let's say I have three sessions: 0, 1 and 2 I'm on session 0 and I press CTRL-A S to split the screen. Then I select session 1 for the bottom split region, while 0 is in the upper. Can I switch to ...
3
votes
0answers
3k views

How can I disable the bell in the Windows console? [duplicate]

Possible Duplicate: Turning off the cmd window beep sound I just accidentally dumped a binary file that contained lots of BEL (ASCII 0x07) characters to my Windows command prompt. The ...
2
votes
6answers
3k views

PowerShell not displaying Unix colors

I use various Linux programs on my Windows machine; some of them have colorized output. GnuWin32 and so forth. However, Windows PowerShell does not support Linux colors; it gets a message like ...
2
votes
2answers
1k views

Literate way of moving all files to a new subdirectory

$ mkdir backup && mv * backup/ mv: cannot move `backup' to a subdirectory of itself, `backup/backup' Works, but issues a warning. Also exit code is 1. How to do it properly (but not [much] ...
2
votes
3answers
1k views

Windows XP - Run task every minute - minimized?

My company seems to be hit by a virus that calls shutdown -r on all workstations. Until IT figures it out, I want to: run a console program (shutdown-a) every minute without it flashing a cmd.exe ...
2
votes
1answer
174 views

Console command redirect to nothing

Is there a way to redirect Windows console commands to nothing\null? A regular redirection might look like: prog.exe > a.txt However in my case I would like to redirect the output so that it ...
2
votes
1answer
267 views

How to redraw Linux console [duplicate]

Possible Duplicate: How to correct the unrecognizable code in my debian? I printed the contents of a file(/var/log/wtmp) with non-ascii characters in my Bash console, which caused my ...
2
votes
2answers
2k views

Creating a symbolic link not in the working directory

the command usually works like a charm but this one ln -si GIT/Settings/session ./.mozilla/firefox/foo.default/ just creates some kind of broken link shown as a file. Why is that? Even sudo ln -fs ...
2
votes
1answer
3k views

Attach a running console application to a new ConEmu instance

I have an already-started console application, under Windows XP. I want to attach it to a different console emulator such as Console2 or ConEmu. This is possible with ConEmu, and it works if I run ...
2
votes
2answers
3k views

How do I use Console 2 with Windows?

Patience please: this is a for dummies question. I've never used a console before and I started to learn Ruby. I use cmd.exe in Windows, but it's bland and has no colour coding, which hurts my eyes. ...
2
votes
2answers
196 views

How to take backup of a shell?

I was working on a shell and got some weird exceptions in my program. Just as a reference, I want to save all that is there on my shell to a text file. I do not just want the command history but also ...
2
votes
1answer
4k views

How do I pipe Java exceptions into a text file along with normal output?

When I use batchfile.bat >> logfile.txt command in the Windows commandline, it correctly outputs the normal output into the text file, but the Java exceptions get output to the console. Can I make it ...
2
votes
1answer
391 views

KDE Konsole reacts on mouse clicks in a strange way

From time to time my KDE Konsole goes crazy, every time I click in it with the mouse it print out garbage characters :) It's not really annoying, I just close it, but I'm curious why this happens.
2
votes
6answers
13k views

How Can I Copy Everything in Current Directory to Subdirectory?

How can I copy everything in current directory to one if it's subdirectory in linux console?
2
votes
2answers
2k views

Can I install ConsoleZ without a package manager?

I am not sure why/how, but I can't seem to simply install ConsoleZ on my Windows 7 computer. I went here, got the latest x64 release, and unzipped it. Afer unzipping it, I get just one directory, ...
2
votes
1answer
1k views

Using minecraft server with screen

I would like to have remote console access to my minecraft/bukkit server. I want it running in a local console, but at the same time accesible via ssh/telnet. I have heard that screen can supply the ...
2
votes
2answers
2k views

How to add Sharepoint Powershell to Console2

Salvete! I want to add the Powershell Console for Sharepoint to the tablist in Console2. I already have plain Powershell, but I want the Sharepoint Powershell snapin added automatically. If I look ...
2
votes
1answer
6k views

How to extract the filename extension out of %f in script?

The windows %%f returns the full name of the file as 'filename.ext' e.g. for /r %%f in (*.wav) do echo %%f Is there a way to extract the filename without the extension from %%f?
2
votes
2answers
1k views

How to make «grep -P “foo (b.r)”» display only what's in the brackets? Do I need perl?

I have a large file, and I'm trying to get all matches of a regular expression from it. grep -P "foo (b.r)" Displays all the lines containing «foo b.r», and I'd like to display only what's inside of ...
2
votes
1answer
2k views

How do I set default properties for ALL console windows?

Right-click-->Properties does not apply to other console windows - only to ones with same name (i.e. cmd.exe). Can I do this for ALL console windows?
2
votes
2answers
1k views

Does FileVault prevent Macbook Pro from booting into single user mode?

Been searching all over the place and not finding it. I have a Macbook Pro (Retina, 15-inch, mid-2014) and I am trying to boot it into single user mode (root console). All the instructions I find ...
2
votes
1answer
69 views

How to bind Control+apostrophe via bindkey in zsh

There is way to bind Control+apostophe via bindkey? I have tried: bindkey "\C-'" bindkey "^'" bindkey "\C-\x27" and all of this is not working
2
votes
2answers
2k views

Why is there no option to choose codepage 65001 (UTF-8) as a default codepage in console window?

I can change codepage 950 (my computer's default) into codepage 65001 (UTF-8): chcp 65001 But why is there no option to choose codepage 65001 as a default codepage in console? Is it able to ...
2
votes
1answer
571 views

Starting a program in a bat file using the Path variable

I often use a command line application. Its path is defined in the environment options, so in the PATH variable. When I manually launch the console and if I type the program name, it's launched. For ...
2
votes
1answer
7k views

Windows start /wait /b NOT working

Despite what the documentation says, I cannot get start /wait to work with /b, despite stabbing in the dark trying nearly every possible combination of inputs I can imagine. My command path does not ...
2
votes
1answer
1k views

How to fix SSH console encoding error

I'm not sure if encoding is the word but I just deployed a plain instance of Ubuntu 10.04 in Amazon's EC2 I log in to the server from a Windows PC with PUTTY and here is the output of a tree command: ...
2
votes
2answers
633 views

how to Color part of text of a output to a console

Is there a way to color particular words printed on console based on user preference? For example I need to color text 'error' when a particular program is compiled.
2
votes
1answer
509 views

Calculation of working time based on system uptime

I know several tools that allow tracking time spend on different tasks / projects. Is there any existing tool for very very simplified work-time-tracking. Scenario: I am an employee, come to the ...
2
votes
1answer
653 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 ...