The terminal tag has no wiki summary.
0
votes
0answers
10 views
Reset Mac Terminal to Default [migrated]
I accidentally renamed my "Basic" terminal profile under Terminal -> Preferences -> Settings. I renamed it back but this got me wondering if there was a way to reset all terminal settings to defaults. ...
1
vote
1answer
44 views
Is it possible to determine WiFi type with a Linux / Mac command?
At the co-working space that I am in, there are a number of wireless access points around. However, there is one that only some of us are able to connect to. We suspect it is because the access point ...
0
votes
1answer
59 views
Can't Install npm, Can't Remove npm, Can't Access Any Commands, Can't Install Coffeescript
I am on Mac OS X Lion, I just used the package installer from nodejs.org to install node.js. Node.js is working fine, and Node.js comes with npm. I have homebrew installed as well. I am just trying to ...
0
votes
4answers
67 views
Getting ;5D when hitting ctrl + arrow key in a Terminal on FreeBSD
On centos I can skip a word by hitting ctrl + arrow (left or right) in a terminal. When I ssh into a FreeBSD box and I try the same pattern I get:
$ tail -f 20120412.log;5D;5D;5D
(each try = ;5D)
...
-2
votes
3answers
43 views
How do I change the year in Unix?
I've looked at the man page for "date" and I can't figure out how to change the year. I know there is some string you need to create to describe the date format but how do I use that?
1
vote
0answers
28 views
Mac Terminal, quit application [migrated]
I'm fairly new to mac. I am testing a php application that runs continuously in a loop. When I run this application from the terminal, the machine name disapears and the application proceeds to echo ...
6
votes
1answer
162 views
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 ...
0
votes
2answers
241 views
Ubuntu MySQL installation problems
I have used 'sudo apt-get install mysql-server', and it asks me if I want to install 2 files.
mysql-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 7 not ...
1
vote
3answers
81 views
cp command, ignore unchanged files
Is there a way to do a cp but ignoring any files that may already exist at the destination that aren't any older then those files at source.
Basically I want to copy the contents of one disk to ...
1
vote
2answers
90 views
Record SSH / Terminal into video?
If someone access to the server via Putty (SSH) or terminal - I want to record everything what they can see on the screen and what they have typed into video..
What is the solution to this, is there ...
0
votes
1answer
87 views
Windows 2008 R2 Terminal Server - RemoteApp - Option “Start in” available?
we have set up a Windows 2008 R2 Terminal Server. On this server, we want to run an application which needs another path for the option "Start in" than the application itself. In a shortcut, this is ...
-2
votes
1answer
35 views
CPU load on Debian (webmin)
When I look at webmin's "system information" page it tells me that the CPU is much greater than when doing top in the terminal? Why? What is going on?
Today the server also broke down
0
votes
1answer
57 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 ...
7
votes
1answer
279 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 ...
1
vote
2answers
50 views
Run commands in PHP with different user
I would like to be able to run PHP commands, in system-function exec or whatever, but with a different user then www-data.
OS: Ubuntu Server 10.10
Web Server: Apache2
I've searched for answers a ...
0
votes
0answers
33 views
OSX - Macports - Missing Aliases [closed]
I use macports on all of my Macs, works well for MAMP stuff.
On my Snow Leopard machine, I seem to have lost all of my aliases to macports and everything it's installed. For instance, if i do
sudo ...
3
votes
1answer
321 views
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 ...
1
vote
1answer
50 views
Convert back slash file names into directories
To move some data from a program on Windows to the same program on Mac, the program has a built in backup tool. Unfortunately it seems they never tested cross platform compatibility as the ZIP file ...
0
votes
2answers
161 views
Linux Terminal: Change cursor position after 'up arrow' key press
I just switched one of my systems from Gentoo to Ubuntu. There is one difference between the two setups that is driving me mad, and I cannot figure out how to fix it. When I use the 'up arrow' to go ...
-1
votes
1answer
85 views
Which client to use for AS400 terminal? [closed]
I would like to connect to AS400 machine but I do not know which client to use. I have clients installed at work but I do not remember how it is called.
I use Windows 7.
Can anyone help me ?
2
votes
2answers
92 views
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 ...
1
vote
1answer
49 views
Do Mac OS X servers have a security mechanism that blocks a user if they log in from two different IPs?
A trusted friend and I had ssh'ed into a Mac OS X Web Server (either snow leopard or lion) from two different locations. Then my password stopped working when trying to log in.
I can safely rule out ...
0
votes
0answers
99 views
Text cursor loses placement (via SSH)
I've noticed (on more than a few Linux servers) while I'm editing a configuration file via SSH the text cursor loses it's place. The only way to regain its correct visual placement is by stretching ...
0
votes
3answers
118 views
Terminal hanging while executing a command
I have not much experience with server administration, but i tried to execute unzip command in one particular directory on server and it hanged , it was not responding for long time. So I logged into ...
1
vote
1answer
128 views
How to access filenames with accents (show up as ?) on Apache server?
I manage a website that is based on directory listings (dessin.acswift.com).
The website is in French, and many of the urls contain accents:
/leçon 1 - identification & vocabulaire.html
I ...
0
votes
1answer
106 views
Mac terminal login via SSH key without entering password.
I am trying to log into SSH using the terminal:
ssh root@example.com -p54 -i ~/.ssh/ssh_key
Custom port number 45.
Chmod 600 ssh_key.
I know that the SSH key works correctly because I can connect ...
1
vote
0answers
90 views
How to Install Office 2007 Enterprise onto Server 2008 R2 Terminal Server
Can you tell me how to get an Office 2007 Enterprise VLK program to work in terminal services? I keep getting an error that says
This copy of Office cannot be used on terminal server.
I can't ...
2
votes
0answers
28 views
Upgraded domain controller from Win 2k to Win 2k8r2 and need to move Terminal Server into new domain
For a number of reasons, I have created a new, separate domain in my organization in Windows Server 2008 R2. I have a Terminal Server machine that also hosts the TS License Server that I need to ...
5
votes
2answers
721 views
SSH garbling characters in vim/nano on remote server
... and it's driving me insane.
Basically (this has been happening over the past couple months), I log into a few different CentOS servers (one Linode, another VPS, and a shared host to which I have ...
2
votes
2answers
209 views
Why does TERM=xterm have to be set for my script to work correctly when remotely executed?
I'm attempting to automate the installation of a Debian server (debian 6.0 squeeze 64bit).
Part of the installation requires the Sun JRE package to be installed.
This package has a licence ...
1
vote
1answer
138 views
Linode Lish Shell Vim and Nano rendering troubles: lines not appearing / cursor positions wrong
I'm using a linode VPS and I just cloned one of my servers to my development server as I've done many times before.
As usual SSH is inaccessible until /etc/network/interfaces is correctly updated. I ...
0
votes
2answers
108 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 ...
3
votes
1answer
120 views
How do I restore (xterm|gnome-terminal) wrapping after telnet to HP equipment has messed it up?
I telnet to an HP switch from my (xterm|gnome-terminal). Exit telnet. That breaks the behaviour of the terminal. (If you don't have a HP switch to telnet to, one can cat this file in a terminal ...
1
vote
2answers
61 views
Ubuntu Terminal Errors
Whenever I open my terminal I get this error at the top:
bash: /etc/bash_completion.d/hping2: line 22: syntax error near unexpected token `$( compgen -W '02 04 08 10' )'
bash: ...
1
vote
0answers
64 views
Is it possible to open terminals in a grid layout when using ClusterSSH?
I'm using the ClusterSSH tool (using the cssh command) to admin clusters of between 4 and 8 machines.
By default, each terminal onto a cluster host is tiled, and opened to the right of the previous, ...
0
votes
1answer
111 views
Can I set Truecrypt options from terminal?
When trying to dismount an encrypted partition i get the ol'
Error: device-mapper: remove ioctl failed: Device or resource busy. The recommended solution from the interwebz seems to be to change some ...
10
votes
4answers
635 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 ...
0
votes
2answers
55 views
Terminal Server 2008 - Certain users experience slow load times for certain processes
I'm tearing my hair out here. Please can someone assist me. I have users on a terminal server and they all use the same programs - Office and an Accounting package, yet certain processes are slower to ...
0
votes
0answers
87 views
key mapping (superkey) over gnu screen or tmux
Here's what I want to do:
In these examples the Window Key/SuperKey = %
% S open up a terminal with screen enabled
% = Create a new screen
% - Remove current screen
% . Go to the next screen
% , ...
0
votes
2answers
41 views
How to get rid of a phantom folder in Mac Os?
I have a weird folder in my home directory. It's called "..Copied!" This name probably comes from an unfortunate period of time when I had overridden pwd in my bash profile. I learned my lesson and ...
0
votes
1answer
97 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 ...
4
votes
1answer
63 views
customizing terminal ssh shell
The other day I saw someone connected to an ssh shell with status bars on the bottom (Mac OS X Terminal) of the terminal. It has things such as upload rate, memory usage, time, current username, and ...
4
votes
3answers
277 views
Connecting to an analog dial-in PSTN terminal without a PSTN line
there's a computer ("server") that has no Internet connection, and it is located in a place with no GSM signal. The only way to get connection to it is an analog modem (US Robotics 56Kbit/s). This ...
1
vote
3answers
119 views
Server Bash Line Wrapping Over Text & In Wrong Place
This is quite a hard problem to explain, when connecting to one of my servers using the bash shell, under any user the line wrapping is broken and has all sorts of problems. Once of which I detail in ...
7
votes
3answers
333 views
Is it possible to change value of $TERM when calling ssh?
On my local terminal, I have TERM=konsole-256color, but not all remote machine I connect to have this definition.
Is it possible to make ssh change the TERM on remote machine? Without changing .bash* ...
0
votes
2answers
175 views
Terminal script for Apple Remote Desktop to find disk space
I've ran into a small dilemma. I'm am attempting to get out developers all using the same features and functions, and to pretty much manage our networks in specific ways.
I had NewGuy ask me if I ...
0
votes
3answers
1k views
-bash: apt-get: command not found
Over the course of uninstalling the HP/palm enyo SDK and installing node JS I somehow goofed up something (I think my path).
Now when I try use apt-get I get the following:
-bash: apt-get: command ...
0
votes
0answers
13 views
TN3270 - Prevent input on Extra Client
If there is no input on terminal screen and enter key is pressed, the host returns an error ("unknown command")
I want to prevent the enter key to send the input if there is no data. Is it possible?
...
0
votes
0answers
415 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...
...
3
votes
1answer
1k views
Can I create a hidden admin account via the terminal on OSX?
I have around 300 baby macs to look after, and they have lots of different admin accounts, which is a nightmare to work with.
ARD has slowly been configured with the accounts of the machine owners, ...