0
votes
1answer
22 views

Dpkg: After comparing config files, how do I revert back to make my choice?

I'm part way through a fairly large apt-get upgrade which had 65 packages to be updated. I've gotten to a config file "merge conflict" where both my local config (containing a licence key) and the ...
-4
votes
4answers
113 views

Setup web terminal access in case ssh crashes [closed]

I would like to setup my Ubuntu 12.04 LTS Server for a backdoor in case ssh crashes. I would simply connect to the server and restart ssh manually but this is not possible. Contacting the system ...
-1
votes
1answer
35 views

cp between mounts using tar (does drive A have to have free space equal to filesize) to complete tar process?

Does the following command if issued between two drives require that the current drive have enough space to accommodate everything being moved to the second drive? tar cvf - .* --exclude=\. ...
1
vote
2answers
501 views

How to change the terminal to SCO compliant in Ubuntu

I have a server in which SCO 5.x is installed. I have several thin clients which were supplied from our head office. Those thin clients have linux pre-installed in them. When we tried to connect to ...
3
votes
5answers
1k 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) ...
0
votes
2answers
497 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
2answers
587 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 ...
1
vote
2answers
87 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: ...
0
votes
1answer
331 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
5answers
1k 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
1answer
3k views

How can I mount a remote volume with 777 permissions for all users?

I want users to be able to upload files to a central file server via my PHP script. I mounted the file server's shared volume using this command: sudo mount -t cifs //192.168.1.8/share local_dir -o ...
1
vote
1answer
335 views

Does Mac OS X Cache Private Keys for SSH?

I have SSH key-based authentication setup to connect to a remote server from my Macbook Air. The private key was originally stored in ~/.ssh/id_rsa, but I have since moved that file to a secure ...
14
votes
5answers
4k views

Most long-running commands instantly killed on Amazon EC2 (Ubuntu 10.04)

When running any sort of long-running command in the terminal, the program instantly dies and the terminal outputs the text Killed. Any pointers? Maybe there is a log file with data explaining why ...
0
votes
1answer
284 views

EC2 SSH Bash Profile

I've set up an Ubuntu image on EC2 and everything is working great. However, when I SSH onto the server my terminal prompt is always $ and several features I'm used to in the default Ubuntu terminal ...
0
votes
3answers
2k views

How can I share a folder from the terminal in Ubuntu?

I have Ubuntu installed with no gui running as a web server. How can I share folders over the network without the gui?
1
vote
1answer
731 views

Installing tmux on Ubuntu from source

I've download tmux and am trying to install it on Ubuntu 10.04. $ ./configure Configured for Linux $ make cc -DBUILD="\"1.3\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o attributes.o ...
1
vote
2answers
259 views

Right-clicking in the terminal opens new window… stop this?

When in a terminal window, right-clicking often opens a new terminal rather than displaying the menu. (I'm not sure if this is because of where I click, or if I'm hitting another button, or something ...
0
votes
1answer
271 views

Ubuntu: Freeing up ports?

I have tried to install cassandra on my Ubuntu test environment, but what happens when I try to start it is that I get the following error: java.net.BindException: Address already in use I have ...
1
vote
2answers
923 views

Ubuntu: move logs from /dev/tty8 to different terminal /dev/tty12 or get rid of it

I want to know how to move or get rid of /dev/tty8 log output in Ubuntu 9.10. /dev/tty7 is my regular X session. When I am switching user to test account where I can try and test setups and configs I ...
1
vote
1answer
1k views

Ubuntu 10.4 Lucid Server Minimal Install: Slow terminal scrolling

I have a minimal install of Ubuntu 10.4 Server for testing and learning purposes. There is a very annoying occurrance: whenever I try to "man dpkg" or any command that load a few screens length of ...
1
vote
3answers
9k views

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 ...
2
votes
3answers
732 views

Simple Ubuntu scripts to connect to a server via terminal

Im relatively new to Ubuntu, Im wondering how easy it is to write what I think is called a shell script to make tasks a little easier. For example I frequently connect to a server - ssh -p 123 ...
1
vote
2answers
346 views

Dumb Terminal booting off a CD with ubuntu customization

first time post. We have a legacy of old PC that are currently running windows xp. Moving forwad we are looking toward going open source and extending the life of these PC's. My first questions is: ...
4
votes
2answers
1k 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 ...
2
votes
2answers
172 views

Send a string to a terminal program

Need to know if one can send a string of commands to a program. The program is called Dynamips, After I launch the program it comes up with "->" The command I want to send to the terminal is "start ...
1
vote
1answer
148 views

Linux (Ubuntu) Terminal Screwey

CTRL+A, for example, is printing "^A" instead of returning my cursor to the start of the line. This happens via ssh, in a screen session, or on the hard console. $TERM shows either xterm or linux ...