Questions tagged [console]

A mechanism for interacting with a computer operating system or software by typing commands to perform specific tasks

A terminal is an interactive text-mode or text-based user interface to a software application or operating system. It may be implemented as a character-mode application or embedded in a graphical user interface.

A terminal may be used as the main user interface or as a secondary interface for debugging and administrative tasks. The degree of interactivity varies widely between terminals.

A console is a particular type of terminal, usually a physical terminal or a terminal implemented directly by the kernel. The term "console" is often incorrectly used in place of "terminal".

14034 questions
416
votes
13 answers

How to color the Git console?

I recently saw that the git console in Windows is colored, e.g. Green for additions, red for deletions, etc. How do I color my git console like that? To install it, I used the command: $ sudo apt-get install git-core
MauroPorras
  • 5,079
  • 5
  • 30
  • 41
406
votes
2 answers

How to search in commit messages using command line?

Possible Duplicate: How to search through all commits in the repository? Is there a way to search through commit headers using the command line?
Coderama
  • 11,050
  • 12
  • 44
  • 58
405
votes
22 answers

Datatables: Cannot read property 'mData' of undefined

I have an issue with Datatables. I also went through this link which didn't yield any results. I have included all the prerequisites where I'm parsing data directly into the DOM. Script $(document).ready(function() { $('.viewCentricPage…
Thriveni
  • 4,183
  • 2
  • 14
  • 12
404
votes
30 answers

How can I write to the console in PHP?

Is it possible write a string or log into the console? What I mean Just like in JSP, if we print something like system.out.println("some"), it will be there at the console, not at a page.
Labeeb Panampullan
  • 34,521
  • 28
  • 94
  • 112
364
votes
7 answers

How to make Google Chrome JavaScript console persistent?

Since I'm building a dynamic site, I need to track the changes between pages, ie. Ajax calls, POST, GET stuff and similar stuff. I'm looking for the same functionality like in Firebug (where you can enable "persistent" and the console is not cleared…
Zlatko
  • 18,936
  • 14
  • 70
  • 123
357
votes
10 answers

How do I increase the capacity of the Eclipse output console?

Even with the "scroll lock" option enabled for the Eclipse console, eventually it overfills and starts auto-scrolling on me. Is there some way of increasing the capacity of the console so that it stores more lines? I wasn't able to find the option.…
Uri
  • 88,451
  • 51
  • 221
  • 321
357
votes
38 answers

How to quickly and conveniently disable all console.log statements in my code?

Is there any way to turn off all console.log statements in my JavaScript code, for testing purposes?
Zack Burt
  • 8,257
  • 10
  • 53
  • 81
348
votes
4 answers

How does one output bold text in Bash?

I'm writing a Bash script that prints some text to the screen: echo "Some Text" Can I format the text? I would like to make it bold.
JamesRat
  • 3,640
  • 2
  • 16
  • 15
333
votes
19 answers

Gradle: How to Display Test Results in the Console in Real Time?

I would like to see test results ( system.out/err, log messages from components being tested ) as they run in the same console I run: gradle test And not wait until tests are done to look at the test reports ( that are only generated when tests are…
tolitius
  • 22,149
  • 6
  • 70
  • 81
322
votes
15 answers

How to get Linux console window width in Python

Is there a way in python to programmatically determine the width of the console? I mean the number of characters that fits in one line without wrapping, not the pixel width of the window. Edit Looking for a solution that works on Linux
Sergey Golovchenko
  • 18,203
  • 15
  • 55
  • 72
316
votes
15 answers

Is there a better Windows Console Window?

I find working on the command line in Windows frustrating, primarily because the console window is wretched to use compared to terminal applications on linux and OS X such as "rxvt", "xterm", or "Terminal". Major complaints: No standard…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
310
votes
10 answers

Disable Rails SQL logging in console

Is there a way to disable SQL query logging when I'm executing commands in the console? Ideally, it would be great if I can just disable it and re-enable it with a command in the console. I'm trying to debug something and using "puts" to print out…
gylaz
  • 13,221
  • 8
  • 52
  • 58
309
votes
24 answers

How can I start an interactive console for Perl?

How can I start an interactive console for Perl, similar to the irb command for Ruby or python for Python?
ibz
  • 44,461
  • 24
  • 70
  • 86
308
votes
16 answers

How can I get the console logs from the iOS Simulator?

I want to see what happens in the iOS Simulator if I'm not testing the app in Xcode. For example, if I open a link in the Safari simulator, see what happens in the console, or if I install a web-app, see the links that I'm pressing in console. How…
user1335015
  • 3,081
  • 2
  • 14
  • 7
287
votes
4 answers

Very simple log4j2 XML configuration file using Console and File appender

I'd like a very simple XML configuration file with a console and a file appender using log4j2. (The Apache Website is killing me with much Information.)
Thorsten Niehues
  • 13,712
  • 22
  • 78
  • 113