The tag has no usage guidance.

learn more… | top users | synonyms

46
votes
4answers
24k views

Why do consoles sometimes hang forever when SSH connection breaks?

I've seen this with so many consoles (on Linux, Mac, ...), and with lots of different machines in many different networks. I can never pinpoint the exact reason, why this happens: All you have to do ...
39
votes
6answers
32k views

How do I permanently disable Linux's console screen saver, system-wide?

I've got an Ubuntu server that boots up in text mode. It rarely has a screen or keyboard attached to it, but when I do attach a screen, I usually have to attach a keyboard too, because the darn ...
27
votes
11answers
15k views

Tail multiple remote files

Is there a way to remote tail 2 files? I have two servers(a and b) behind a load balancer and I would like to do something like this if possible: tail -f admin@serverA:~/mylogs/log admin@serverB:~/...
22
votes
6answers
7k views

How to check if I'm in screen session?

is it somehow possible to check if I'm right now in screen session? I need it to determine if hitting ctrl+d would disconnect me from server or just close current screen. Thanks.
22
votes
1answer
5k views

Block select on a Linux console?

Is there any Linux console (konsole, gnome-terminal, etc.) that allows selecting text in a block mode, like you can in a Windows cmd.exe window, using Mark and drawing a square?
21
votes
2answers
23k views

How to delete .fuse_hidden* files?

I have small Linux server (Debian Squeeze) which runs a Samba server which is configured to share some folders with some windows machines. While trying to delete one of the directories from windows I ...
20
votes
6answers
46k views

KVM Guest installed from console. But how to get to the guest's console?

I'm trying to install a fully virtualized guest (Fedora 14 x86_64) on KVM (RHEL 6), using command-line only (both hypervisor and guest). It goes without errors, and without a tangible result . I'd ...
19
votes
1answer
11k views

What does the @ symbol mean in a file's permission settings?

I'm on MacOSX, I did ln -s on a directory and these are the results: -rwxrwxr-x@ 1 shiki admin 970332 Mar 6 16:38 apc.so -rwxrwxr-x@ 1 shiki admin 653884 Mar 6 16:38 eaccelerator.so -rw-rw-r--...
16
votes
41answers
2k views

Poll: What is your favourite terminal program? [closed]

What is your favourite terminal program? Are you a xterm traditionalist or an eterm fanboy? Do you stick with what comes with your windowing environment: gnome-terminal, konsole, cmd.exe or terminal....
15
votes
6answers
3k views

Nested RDP and VMWare and ILO console sessions: keystroke repetition and latency

I'm working on a remote server installation entirely through ILO (but this also applies to IPMI and VMWare console sessions). Due to the software application and environment, my access is restricted ...
13
votes
6answers
2k views

Real benefits of serial console servers (with modern server hardware)?

I'm working in a new environment that makes heavy use of serial console servers for server management. They are augmented with switched PDUs for power management. They are not using the DRAC ...
11
votes
1answer
3k views

Console on ESXi 5

Is there also a console on ESXi 5? The well known method from ESXi 4 for the "hiddenconsole" does not seem to work. (Alt-F1, type "unsupported", enter root password)
11
votes
3answers
5k views

How can I scroll back the output in FreeBSD's console without Scroll Lock?

I've installed FreeBSD inside a VM on a laptop. As it turns out, the laptop keyboard has no Scroll Lock key, which is used for scrolling the screen back in FreeBSD's console. How can I scroll back the ...
10
votes
1answer
220 views

How to “un-ANSI-fy” logs?

Lately there has been a tendency by command line tools to use fancy ANSI colors in their log output (for example, NPM and a host of nodejs based tools, rvm, docker, and a few other "modern" tools). ...
9
votes
2answers
1k views

Reverse bash console text flow

This is a bit of a weird question and I'm not sure that there is any easy answer to it but I am very interested in finding a solution. So when I work on a linux machine via a console I find that I am ...
8
votes
5answers
26k views

Disable usage of console-kit-daemon in Ubuntu

I administrate several Ubuntu 9.04 servers, and everytime I log in, I get the Landscape utility printout with server stats, etc. I really don't need this and it slows down my logins considerably. ...
8
votes
5answers
3k views

Allow access to Linux Console

Suppose one is running an SSH session into a GNU/Linux box of a client and he asks you to see "what you are doing". How can you allow this other party to see what's going on in your session?
8
votes
4answers
5k views

Prevent the console from clearing the screen?

When booting into Linux, there are sometimes one or two lines that get quickly cleared. I think that some of them don't even appear in dmesg. If nothing else, I want to suppress the clear before the "...
8
votes
3answers
14k views

Scheduled job not running to completion; event logged with return code 3762504530

I'm just a lowly developer, but a scheduled (2:00 am) VB.Net console app job I inherited is intermittently not running to completion. About half the time, it just doesn't run to completion, logging ...
7
votes
7answers
10k views

Colour tail of Apache logs

Monitoring apache logs with tail –f tends gets very frustrating for the eyes after a while. Are there any tool/options to colorize the log outputs? Maybe signal FATAL with red, etc...
6
votes
4answers
385 views

How to configure UNIX or Linux for administration via serial connection

How can I configure my UNIX or/and Linux PC with COM port to support serial console connections? I would like to connect my notebook to that PC via a console cable and manage the PC with terminal ...
6
votes
5answers
506 views

What is a a good serial-to-USB adapter? [closed]

Serial ports on devices are still used for many things, especially on network devices. However, most modern laptops no longer have serial (aka "COM") ports. So what I'm curious about is: what is a ...
6
votes
1answer
2k views

Linux: Print all messages to primary console *and* secondary console (monitor/KVM)?

I run Linux (Red Hat-based, CentOS, SL, versions 5 & 6) on a variety of Supermicro and other whitebox servers. Some have IPMI, some do not. Some of these systems are attached to a Keyboard/...
5
votes
8answers
2k views

How to remote control Windows?

Is there a way to remote control a Windows machine as easy as I do with my other Linux pcs through SSH? I'm currently using a FTP server for files but I prefer the way I can manage my other linux ...
5
votes
2answers
424 views

what console command ./ means?

I saw many times console commands like ./redis-server or ./mongo what exactly ./ means?
5
votes
6answers
1k views

Possibilities of connecting to linux box console without network

Having to manage a couple of remote dedicated servers, working with network related stuff can be quite stressful. Is there any possible way I could connect to those boxes (possibly via third box) and ...
5
votes
3answers
51k views

Setting Java Runtime setting for all users on a client PC

We have a problem with a java application running out of memory. Our (Windows XP) client PCs have JRE 1.6 version 18 installed. I want to increase the -Xmx runtime parameter for the JRE to 512M but I ...
5
votes
2answers
2k views

Cisco console, USB and RJ45?

I have a new Cisco 3750X switch and I want to connect to it via console. Only.... this switch does not have a DB9 connector on it, its Serial port is RJ45. I have a USB to RJ45 cable, and am on ...
5
votes
5answers
656 views

Unix command to suspend a job while there is console activity?

I want to do a large disk transfer, which slows down responsiveness of my system. What I want is a Unix command that will only run the command after I have been idle at the console for a few minutes. ...
5
votes
2answers
2k views

What does “virtual consoles” in the ubuntu installer stand for?

I am installing ubuntu server in a vmware vm. In the expert installer there is this question (I guess this is the same in the debian installer): Please enter a space delimited list of virtual ...
5
votes
5answers
905 views

Globally Coloring the Terminal by Regex

I know many programs use color - (vim, ack, color-ls to name a few) but there are still many cases where you're stuck with black and white. There are scripts that will color output based on regular ...
5
votes
4answers
6k views

How to enable multiple virtual consoles on linux?

I'm new to linux so I have no clue how to do this (couldn't find it on the web). I'm running a LAMP Virtual Machine and when I press ALT-F2, F3 etc.. to use a Virtual Console I get a blank screen (all ...
5
votes
3answers
2k views

Powershell screen buffer

i am using Windows Powershell, and just wondered if there is a way to scroll through the screen buffer (like for example in UNIX bash with SHIFT + PgUp / SHIFT + PgDn). I know the there is a "more" ...
5
votes
1answer
949 views

Supermicro + IPMI + FreeBSD: Kernel prints at 1-bps

I am running FreeBSD 8.2-RELEASE. The machine is a Supermicro 5015M with a IPMI 2.0 daughterboard. When I boot this host, the boot process proceeds fine. I see the BIOS, the RAID BIOS, the first and ...
4
votes
7answers
3k views

Is there a folder size tool for linux? (web-based or working on console) [closed]

I have a debian server which has a lot of user folders and I would like to have a tool like FolderSize application in Mac, where i can check the filesystem by filetype or foldersize (or whatever ...
4
votes
7answers
1k views

Replacement for Windows command console

I'm not a sysadmin, but I use a Windows 2003 server at work fairly often for testing purposes, and I'm always annoyed by the limitations of the standard Windows console terminal. Is there some "...
4
votes
4answers
2k views

Ubuntu Server: Don't see my input in terminal

I have a problem with my Ubuntu server. I start a new remote ssh session (from windows putty or ubuntu client) to my server. After a while (I think it is when I hide the console window), my input is ...
4
votes
2answers
9k views

With the Supermicro Embedded BMC, is it possible to connect to Serial Over Lan via SSH?

I have several dozen Supermicro servers which use the Supermicro Embedded BMC. The documentation on that page suggests that I can access the Serial Over LAN (Serial Console) over SSH: SMASH ...
4
votes
4answers
381 views

Linux process management

I started a long running background-process (dd with /dev/urandom) in my ssh console. Later I had to disconnect. When I logged in, again (this time directly, without ssh), the process still seemed to ...
4
votes
2answers
12k views

Where/when does a Linux system change the console display mode?

I'm installing Debian Wheezy (7.0rc1) on a box of mine. For reasons I won't go into here, I don't want the framebuffer to be used for the console display during boot (nor afterwards). To avoid this, I ...
4
votes
3answers
8k views

Connecting a USB laptop to a RJ45 serial port

We are about to get our first managed switch at work (Procurve 2520G-24-PoE), and this lowly programmer gets to put on his admin hat and try to configure it. The switch has an RJ45 serial port for ...
4
votes
2answers
2k views

Dumping a Linux console scrollback buffer?

We would like to save the output of a program run on a Linux console which spans many lines. Unfortunately it wasn't logged or run under screen, or any other way that lets us easily capture the output....
4
votes
0answers
1k views

ESXi - serial console as default console

I have headless Supermicro server with IPMI as my ESXi 5 but I would like to use serial console as default console for ESXi instead of accessing it via IPMI VGA console redirection. I have some ...
3
votes
5answers
10k views

Linux: open serial(COM1) line to manage Switch through console

Cat you help please) I have connected switch to PC with serial cable and i want to manage it. What utility i can use to open serial line and manage switch through console? On windows i used Putty(...
3
votes
4answers
81 views

Rescuing a buggered console

Once in a while, you'll get some output in your console that causes it to go haywire. In some cases, you can't enter text, in others you can enter text but it looks like the Cyrillic alphabet. Is ...
3
votes
2answers
287 views

Can changing the tty improve compilation speed?

When I do large compilations (anywhere, but my question assumes Linux), many messages are often output to the screen. My question is, do these messages slow down the process? And if they do, does ...
3
votes
3answers
17k views

What serial cable do I need for a Cisco/Linksys SRW2024P?

Some idiot (one guess as to who) installed a Cisco/Linksys SRW2024P in a 2nd location and forgot to change the IP before doing so. Now it's on a new subnet and I need to control it via console port. ...
3
votes
2answers
2k views

Utility to send a command to multiple terminals?

A while ago when I did a lot more system admining, there was a little utility that would send a command to multiple terminals that I had open. So essentially I could ssh into three different servers, ...
3
votes
2answers
733 views

stdout to gnu screen copy buffer

Is there a command in GNU Screen to direct standard output to the copy buffer I've been doing alot of work with files, it's great to copy and past the filenames I want into commands e.g. ls | grep ...
3
votes
1answer
5k views

Setting php error_reporting value with a console parameter

In order to test my PHP projects on errors I normally use this command: find ./ -type f -name \*.php -exec php -l '{}' \; | grep -v "No syntax errors detected" I would like to extend the part php -...