Questions tagged [terminal]

Terminal: 1) A device or program used to talk to a terminal server, usually over Serial or RDP, 2) A synonym for command-shell or command line, 3) A specific OS X program.

419 questions
8
votes
4 answers

How do I increase size of Terminal on Linux

I have a 48core linux box. I would like to monitor per core cpu usage. However when I use top and press 1 I get an error message "Sorry, terminal is not big enough" Is there anyway I can increase the terminal window size. Max (putty) my laptop can…
user209051
  • 199
  • 1
  • 2
  • 4
8
votes
5 answers

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?
Valmir Pimenta
7
votes
3 answers

configuring command prompt in Asterisk CLI

I am trying to set up color prompt in asterisk CLI. In the documentation I have found this: %Cn[;n] Change terminal foreground (and optional background) color to specified. A full list of colors may be found in include/asterisk/term.h* But nowhere…
user1968963
  • 101
  • 1
  • 5
7
votes
1 answer

How to get "tail -f" working on a file located on a Windows share

I'm using a Mac and I have mounted a Windows network disk in my file system using "Connect to Server" in the Finder. In the terminal when i do tail -f on a log file located on said network disk, tail is not updating the display when new lines are…
7
votes
1 answer

Creating a pseudoterminal to make sudo happy

I need to automate the provisioning of a cloud instance (running Fedora 17) for which the following initial facts are true: I have ssh-key based access to a remote user (cloud) That user has password-free root access via sudo. Manual configuration…
larsks
  • 43,623
  • 14
  • 121
  • 180
7
votes
1 answer

Forwarding linux terminal from serial port to TCP with socat

I'm working on embedded ARM platform, Slackware. I'm using G24 Java modem which is configured to forward data between ports /dev/ttyS1 and /dev/ttyACM0, so anything that goes onto any of these ports is then visible on the other. I want to set…
Wookie88
  • 211
  • 1
  • 2
  • 7
7
votes
4 answers

mysql not to print selects output to terminal

Quick question: I have created come commands that will warm-up my DB. The thing is that those selects are large. When I do such a select I get all the "jiba-jaba" into my terminal window. How can you make mysql do the select 'quietly' ? without…
Katafalkas
  • 523
  • 2
  • 8
  • 20
7
votes
3 answers

Changing terminal colors in Ubuntu Server

I'd like to change the colors. The lime green hilighting on pale blue colored file names is killing my eyes. I'm not sure if I'm using xterm or gnome or whatever, but I would like to change the default color scheme (preferable to something less…
Josh K
  • 454
  • 1
  • 6
  • 18
6
votes
4 answers

Prevent accidental execution of commands in Linux if pasting text containing one or more return characters

Sometimes if text that is on the clipboard is pasted into shell and it contains a return character it will execute even though that wasn't the intention. Sometimes even multiple lines may be pasted in by mistake and then unintended commands could…
sa289
  • 1,318
  • 2
  • 18
  • 44
6
votes
0 answers

CentOS colors in php-cli applications

I'm managing a server with CentOS 6.5 x64 installed. In my Ubuntu server, when I run composer or Laravel's artisan php cli command, parameters are colorful. But this doesn't happen when I SSH into a CentOS server and run composer again. As you can…
Arda
  • 285
  • 2
  • 7
6
votes
1 answer

su: must be run from a terminal

I have tried to set up a scheduled backup of my Minecraft server. I used a script I found on GitHub at frdmn/minebackup.sh and it seems to work great when I run it from the terminal directly. The cronjobs I have set up however doesn't work for some…
Svish
  • 6,977
  • 15
  • 38
  • 45
6
votes
2 answers

Confusion over terminology SSH, Shell, Terminal, Command Prompt and Telnet

I don't usually use SSH if I can get away with it, but if I have to I do of course, and I've seemingly done this for years while still managing to remain slightly confused about these different terms ... from my basic research, this is my…
byronyasgur
  • 190
  • 8
6
votes
1 answer

Kickstart SSH usage

I have a small Kickstart script which (among other things) connects to our Puppet master, approves the certificate request and then creates a basic framework for a new server. Within my Kickstart post section I have the following commands. # Run…
Tim Brigham
  • 15,545
  • 10
  • 75
  • 115
5
votes
1 answer

How to export private key? (GnuPG)

I have successfully created GnuPG public/private key pair using RSA and RSA algorithm. How can I export a public key and private key in the form of file with the .asc extension?
rancho
  • 181
  • 1
  • 1
  • 4
5
votes
1 answer

ttylog attaches to the wrong process - release notes a bit hard to understand too

I have a lengthy python script running on a machine: [root@server1]# ps aux | grep python root 30640 15.6 0.6 296416 102444 pts/4 S+ 11:29 2:38 python my_script.py But I'm now working remotely on my laptop and want to view the output of…