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.

learn more… | top users | synonyms

9
votes
1answer
11k views

OS X WiFi settings via terminal?

I manage a large group of macs and they are all connected via ethernet. I would like to disable wifi on them and then require and administrator to change any wifi settings (pretty much what is shown ...
0
votes
1answer
17 views

Printer installed on terminal server 2012 only works with group “everybody”

I'm trying to restrain access to printers on my terminal server. The printers are installed directly on the server because we're using thin clients to connect, so people don't have a local default ...
0
votes
2answers
801 views

Putty: disable configuration of server terminal length

I would like to prevent Putty from setting the server terminal length so as to avoid the dreaded --More-- prompt in Cisco IOS. Please do not tell me to set length 0 in line config mode because this ...
23
votes
7answers
2k views

How can I keep the content I was reading from man after I quit?

So we use man whatever to get usage and other info regarding the whatever command, when the relevant section of info is found, I'd like to quit the man command with the info left on screen. So I can ...
10
votes
4answers
6k views

How to make the 'less' command handle UTF-8?

On my Mac terminal, printing UTF-8 works in general, but the less doesn't work correctly. So this works correctly: $ echo -e '\xe2\x82\xac' € but piping it into less gives something like this: ...
3
votes
1answer
1k views

Can I recover a nano process from a previous terminal?

My system crashed while I was in a nano session with unsaved changes. When I log back in via SSH I see the nano process still running when I do a ps. davidparks21@devdb1:/opt/frugg_batch$ ps -ef | ...
-3
votes
1answer
32 views

How to export private key? (GnuPG) [closed]

I have successfully created GnuPG public/private key pair using RSA and RSA algorithm. But I can't figure out a way to export public key and private key in the form of file with .asc extension. I am ...
0
votes
0answers
28 views

How to configure a USB virtual port interface on Windows-7

I have an embedded board with a USB output, which is plugged into Windows-7 desktop. I installed ST Microelectronics' STM32 Virtual COM Port Driver. It reported that it installed okay. How do I ...
-1
votes
2answers
203 views

Restore file permission on CentOS 7

I managed to messed up server permissions on entire server chown root:root -R / chmod 777 -R / How to fix it? I can't login as root using terminal on that machine it show error "Invalid password" ...
10
votes
12answers
29k views

How to watch logs in real time via Terminal?

This is a basic question - in the movie "The Social Network" there are several scenes when the young Facebook staff is watching the PHP/Apache server logs on in their TERMINAL in real time. I'm ...
4
votes
1answer
363 views

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 ...
0
votes
0answers
16 views

Wyse Enhanced Ubuntu Terminal Locked Down?

I'm dealing with about 20 Wyse T50 thin-clients and I want to set up cron, however, it seems like there are a number of things locked down in the Wyse Enhanced Ubuntu terminal. For instance, '...
0
votes
0answers
36 views

Airodump-ng Not Showing Anything

I am using Kali Linux to test some adapters. First of all, I don't know why, but I have a wlan0 and wlan1. I have tried both of them and I still have the same problem. So far I can issue the command: ...
0
votes
0answers
52 views

Terminal line wrapping issues only with Docker/Kubernetes

I'm on OS-X and running either iTerm or the standard OS-X terminal. In either case if I start a Debian docker container like docker run --rm -ti mycontainer:latest I get a command line prompt and line ...
1
vote
1answer
38 views

Ubuntu “service” command

I type in the following command on two separate machines both running Ubuntu: service ssh status Output of machine 1: ssh start/running, process 25369 Output of machine 2: ● ssh.service - OpenBSD ...
8
votes
4answers
5k views

List supported terminal types?

Is there a portable way to list supported terminal types on all *N*X systems? If not, what's the best way to get this list on Solaris?
0
votes
1answer
119 views

Installing Oracle 11g on CentOS via Yum

I'm trying to set up a CentOS 7 VM to host an Oracle 11gR2 database. There is no desktop/x window system software, but I did try installing the 11gR2 zips with ./runInstaller -silent -noconfig -...
0
votes
2answers
80 views

How to autocomplete long file names in terminal

If I have in current directory a file with a long name starting with "build" I can write in console "build", press Tab and autocomplete type full filename for me. However if I have multiple files ...
-4
votes
1answer
138 views

Why can't I restart my Apache Amazon EC2 server? [closed]

I'm trying to restart my amazon EC2 Apache server, and I'm getting an error message that says (13)Permission denied: AH00058: Error retrieving pid file /var/run/httpd/httpd.pid AH00059: Remove ...
5
votes
2answers
1k views

Why does CTRL-r act weirdly (showing only part of a command) on OS X

Ctrl+r is a great little tool for searching your .bash_history for previously run commands. However, when I use it in my OS X Terminal.app I see weird behavior, and I was wondering if anyone else ...
2
votes
2answers
449 views

History in linux terminal

I'm running Ubuntu 9.1 and every time I open a terminal window, I lose the previous command's history. How can I configure it so it's kept even after rebooting?
1
vote
1answer
103 views

bash_history file and history command showing different entries

I am using the Terminal app on OS X to try and clear my command history. The entries within my $HOME/.bash_history file do not match what is returned by the history command. The echo $0 command tells ...
0
votes
1answer
74 views

is there a way to pretty print the output of “ps” to include the “rss” memory value?

I have a python script which takes in processes in csv format and decides things based on what's running, it's name, and how much cpu time it's using. I would like to add processes that also use lots ...
3
votes
3answers
428 views

Cron appears to run but doesn't execute in the same way as when run manually from the terminal [duplicate]

I have a php script that connects to an external API returns some data and updates a database table. I can run this directly via my command line / SSH terminal and it works fine (takes about 5 minutes ...
6
votes
2answers
12k views

How do I reclaim a disown'd process?

Similar to many previous questions, I found myself running a job that I wish I had run in screen. I was forced to disown the process because I needed to disconnect. Now that I have reconnected, I see ...
0
votes
3answers
4k views

Adminstrator cannot log on to server via remote desktop after changing default domain policy

I wanted to enabled remote desktop access for a domain security group so I search and followed the instruction here to get to the setting which was shown as "Not Defined" then I change the setting to ...
0
votes
1answer
407 views

RDS 2012R2 “Preparing the destination computer” Long

I've just setup a new RDS Deployment on a 2012 R2 domain. When client's connect to the RemoteDesktop there is a considerable delay at the "Preparing the destination computer" stage. I can resolve this ...
2
votes
3answers
28k views

Fortinet SSL VPN Client Setup Without GUI on Linux (centos)

How can I install and setup a fortinet SSL VPN client on a VPS that's running on Centos? I have problem to do it because all guide I have are all using GUI which is not installed on the VPS to save ...
2
votes
2answers
572 views

freeze and thaw tmux and/or terminal sessions?

I would like to be able to freeze and thaw tmux sessions. That is, to take a complex set of session state, persist it, and bring it back from some persistent store later. Essentially, git stash for ...
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 ...
0
votes
1answer
25 views

Terminal Server 2012 keeps logging in user with Temp Profile

Have a 2012 Terminal Server and a 2008R2 Profile server. When a user logs onto the 2012 terminal server who has a roaming profile it keeps using a temporary profile and will not load the domain ...
0
votes
1answer
132 views

Dropbox via terminal: how do I upgrade

I have a Linux server and have Dropbox successfully installed and running via their instructions here: https://www.dropbox.com/install?os=lnx including using the python script for running from the ...
1
vote
1answer
37 views

DNS Cache Error

I am in dire need of some help as i have searched high and low for a answer but to no avail. To begin let me give you a idea of what I have setup and the goal I am trying to achieve. I currently have ...
14
votes
5answers
3k views

How to remove many (200 000) files?

I must remove 200 000 files (all of them) from a folder, and I don't want to delete the folder itself. using rm, I get an "Argument list too long" error. I've tried to do something with xargs, but I'...
3
votes
0answers
47 views

OSX Terminal.app seems to become 'suspended' unless I VNC into the Mac

So I have a bit of complicated setup, but let me see if I can simplify I am running a mono application on a remote OSX machine. This application can occasionally hard-crash the mono runtime. There ...
0
votes
1answer
15 views

How to use the PHP within Terminal that comes with installed Vagrant Box instead of system PHP

I've provisioned a ScotchBox Vagrant Box, which is basically a LAMP stack. But I need to be able to use the PHP that comes with ScotchBox from Terminal instead of the system php How do I do this?
13
votes
6answers
19k views

How to scroll back in screen within a ssh session from OS X? [closed]

I do the following: Open Terminal.app Open a ssh session to a remote Linux server Open a screen session on the server Start a program who breaks with many lines of error reporting… How can I ...
-3
votes
1answer
307 views

What Does “ping -f” Do In The OS X Terminal? [closed]

I've recently read about the command in the OS X terminal, "ping -f (Target IP)". I haven't been able to form an understanding on the command even after looking through numerous online articles. I ...
23
votes
2answers
2k views

Why does password entering work in a piped sudo command?

If I do: sudo cat /etc/resolv.conf | less It will prompt me for the password, even though less (presumably) takes stdin. Over what fd's is the password prompt shown and how does it get the input ...
0
votes
1answer
113 views

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 ...
5
votes
2answers
2k views

Terminal.app does not support alt/meta/command-key modifiers such as meta-backspace

This was observed on Mac OS X 10.5, running Terminal.app. On a native Linux machine, from a bash command prompt, typing meta-backspace deletes up until the most recent whitespace. On a Mac, it ...
1
vote
3answers
1k views

How to find out what consumes Linux pty's

The number of allocated ptys (/proc/sys/kernel/pty/nr) on my linux server is constantly growing, and exceeds the number of active logins, terminals and screen sessions by orders of magnitude. Only a ...
0
votes
2answers
710 views

Terminal Server: no default printer

I have a customer with 3 2008 R2 Standard terminal servers in 1 TSfarm. All clients are XP/Vista/7 Pro and login with a generic account automatically at startup. After startup the latest mstsc client ...
1
vote
3answers
2k views

Debian install netbeans - “No protocol specified”

When trying to run the netbeans shell installer, it gives me an error. ./netbeans-7.0.1-m1-php-linux.sh Configuring the installer... Searching for JVM on the system... Extracting installation data... ...
1
vote
0answers
39 views

RDP Farm - External Connections

We have originally had a TS running simply by RDPing through port 3389 from an external IP. We now need to replace what we have, and I would like to use a farm as we want to give users a single ...
0
votes
0answers
37 views

Terminal piping misunderestanding

Folks I have a few questions around this command: echo 'cat //item/*[local-name()="id"]/text()' | xmllint --shell test.xml | sed '1 d;$ d;/^ -------$/ d' | sort | uniq --repeated I thought command ...
0
votes
0answers
15 views

Lantronix Terminal Server local prompt

My Lantronix ETS16P serial terminal server lost its configuration and I needed to configure it. I am fairly confident I configured it the same way as before (I also had a backup). I use a menu which ...
1
vote
4answers
2k views

How to find out the virtualization type of an linux VPS?

Having access to an VPS, i need to know which type of virtualization it is running from the terminal. How can determine the virtualization platform that my VM is running on? (OpenVZ, Xen, KVM, etc?)
-1
votes
1answer
14k views

Kali linux does not boot in gui [closed]

I got kali linux installed on my pc for a while but now linux will not boot in gui mode , only in text mode ( terminal ). I get no errors on booting it goes directly to the login screen . Hope you ...
2
votes
1answer
180 views

Palo Alto PA-4020 cannot connect to terminal through Serial to USB

I have a PA-4020 that I messed up the configuration on, and I am trying to do a factory reset. I went ahead and ordered a few different serial to USB cables, and cannot connect through a Mac App ...