A combination of display monitor and keyboard (or other device that allows input) for system monitoring and administration.
Questions tagged [console]
626 questions
415
votes
9 answers
How to get the summarized sizes of directories and their subdirectories?
Let's say I want to get the size of each directory of a Linux file system. When I use ls -la I don't really get the summarized size of the folders.
If I use df I get the size of each mounted file system but that also doesn't help me. And with du I…
2ndkauboy
- 4,343
- 4
- 17
- 8
230
votes
6 answers
What is the difference between shell, console, and terminal?
I'm confused with the terminology. What is the difference between shell, console, and terminal?
claws
- 4,229
- 15
- 46
- 62
210
votes
10 answers
How to copy text from Console2?
I just started using Console2 as an alternative to cmd.exe
I can't figure out how to copy text from the console to the clipboard -- dragging over it with the mouse won't mark anything, and there is no option in the right-click menu to "mark" as in…
GJ.
- 9,673
- 26
- 74
- 115
204
votes
9 answers
Change default code page of Windows console to UTF-8
Currently I'm running Windows 7 x64 and usually I want all console tools to work with UTF-8 rather than with default code page 850.
Running chcp 65001 in the command prompt prior to use of any tools helps but is there any way to set is as default…
Regent
- 2,346
- 3
- 16
- 8
172
votes
6 answers
How to close a tmux session
I am using tmux to manage multiple terminal windows. Currently I have 2 windows open with multiple panes.
I know that I have to use the prefix (for me it is ctrl+a) to enter commands.
How can I close the session from inside of tmux?
What command…
ph3nx
- 1,823
- 2
- 12
- 6
126
votes
12 answers
How to force GPG to use console-mode pinentry to prompt for passwords?
Using gpg from a console-based environment such as ssh sessions fails because the GTK pinentry dialog cannot be shown in a SSH session.
I tried unset DISPLAY but it did not help. The GPG command line options do not include a switch for forcing the…
ccpizza
- 7,456
- 6
- 54
- 56
92
votes
9 answers
Run cURL commands from Windows console
Is there a way to install cURL in windows in order to run cURL commands from the command prompt?
Domingo
- 1,213
- 2
- 13
- 15
87
votes
9 answers
How can I change the input keyboard layout while in the console?
I need to change the layout of the keyboard while working in the console on Linux. I need to set up English layout as the default for the console. How can I do it?
J.Olufsen
- 3,492
- 14
- 43
- 59
68
votes
4 answers
SIGTERM with a keyboard shortcut
I know that inside a terminal, Ctrl+C keyboard shortcut will send a SIGINT signal to the current foreground process. Is there a way to setup a keyboard shortcut for sending SIGTERM or even SIGKILL to the current process? I think it could save me…
julkiewicz
- 783
- 1
- 5
- 7
63
votes
8 answers
Windows console with ANSI colors handling
Is there any console emulator for Windows that interprets ANSI coloring?
We use rspec and a part of our team use Windows and the special string for coloring are not very useful for them ;).
mrzasa
- 755
- 2
- 8
- 7
63
votes
6 answers
How to open a terminal quickly from a file explorer at a folder in Windows 7?
This can be done easily in Ubuntu, just right click and open Terminal. It is very inconvenient to open cmd.exe then cd to the folder.
So, how do I open a terminal quickly from a file explorer at a folder?
Catherine
- 633
- 1
- 5
- 4
59
votes
9 answers
How to stop kernel messages from flooding my console?
I'm using Centos 6, rsyslog logging. Console is flooded with kernel messages.
Klogd is not running (I'm using rsyslog)
Rsyslog config does not direct anything to the console
Even tried stopping rsyslog altogether
Still something is flooding my…
haimg
- 22,193
- 16
- 79
- 113
56
votes
6 answers
Chrome: Hide Extension Errors in JavaScript Console
Is there a way to prevent extensions from showing up in the console of the developer tools window? It's annoying to be looking for JavaScript errors and have to ignore errors that are always there. I know from this question you can use Incognito…
Tom
- 817
- 2
- 8
- 13
54
votes
2 answers
How can I grep with color in Mac OS X's terminal?
I recently found that on Mac OS X I can set this up in my shell ~/.profile so that when I use grep it will print the matches in color (white one red).
alias grep='GREP_COLOR="1;37;41" LANG=C grep --color=auto'
But setting up an alias seems like…
cwd
- 17,668
- 42
- 121
- 159
47
votes
4 answers
Git Bash Here in Console2?
MSysGit installs a context menu item that opens a Git Bash prompt at the currently selected folder; however, this opens a cmd.exe window and I would like it to open in Console2 instead.
What modifications do I need to make to get this working?
Note,…
Charles Roper
- 10,599
- 16
- 56
- 75