1
vote
0answers
34 views

vi issue in SSH TTYs to Ubuntu 14.04.1 LTS

After upgrading my server to Ubuntu 14.04.1 LTS, I can no longer use the vi editor to edit anything in an SSH terminal (I access the server by launching ssh sessions from Cygwin running on Windows). ...
1
vote
1answer
36 views

uTorrent server only working with 'sudo -i' option

Apparently it's not a working/not working issue. I have setup uTorrent server in my Xubuntu 14.04 following these instructions. How do I install utorrent on ubuntu 14.04 other instructions seem ...
2
votes
1answer
19 views

Use solarized or similar in Ubuntu Server

It's possible to use Solarized color scheme (or similar) in a Ubuntu Server 14.04 CLI only?
0
votes
0answers
17 views

xmacro without running x server?

I need to record typing in terminal, and it works just great in x session inside of xterm with xmacro, but I need to do such macro recording without running x server, and I can't really find the ...
1
vote
1answer
54 views

Is it possible for users not to be in passwd? [closed]

So I have a shell on a remote server. [alexandros.dimos@fep-62-1 ~]$ whoami alexandros.dimos [alexandros.dimos@fep-62-1 ~]$ cat /etc/passwd this too long the point is my user is not ...
1
vote
1answer
73 views

rc.local won't execute the script

This is my rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # ...
1
vote
1answer
47 views

How to use Ubuntu Terminal to backup data over a shared netowrk drive

Firstly, I must confess and say that I'm very green in Linux so kindly forgive me for my newbie question. Secondly, forgive me again for the long post - I just had to be sure I got everything down. ...
2
votes
0answers
28 views

Non-X/Non-GUI terminal emulator for Ubuntu Server

I have a computer running Ubuntu Server (non-X/non-GUI), I need a terminal emulator which has VT100/VT320 capabilities like Gnome-Term and xTerm do on my other (GUI) Ubuntu box. tMux and GNU Screen ...
0
votes
0answers
9 views

Create startup script for openproject [duplicate]

I consider myself a linux noob, but I was able to install openproject on a Ubuntu 12.04 server in VirtualBox. Currently I have to manually start the web-server every time I power-up the virtual ...
0
votes
4answers
49 views

SSH remote command execute stays without disconnect when finished execute?

I am trying to build a script/command that will restart our Asterisk/Elastix service on our PBX. The script is basically using simple command with auto log-in public key that run from Ubuntu ...
0
votes
0answers
31 views

Keeping a NAS connection active

I can see the network server, I'm using Nas4Free as my NAS. I can mount/unmount a/the network drive, copying files, moving files create new files etc. Then I would not access the drive for a number of ...
0
votes
1answer
15 views

what's the best package to add to an Ubuntu VPS account to get a terminal window?

For my Pair Networks VPS (running Ubuntu 10.04 on AMD64), and working install details with its illustrious support team, I am interested in suggestions for a robust terminal quasi-GUI'd window package ...
1
vote
0answers
20 views

Weird problem: can not connect network until a terminal is opened in Live system

Live system based on ubuntu server 12.04.2 with manual installed X and openbox. startx is in a shell script which is called in /etc/rc.local with su -l root -c /scriptsFolder/script.sh A program is ...
0
votes
0answers
37 views

Virtualmin/Webmin on Ubuntu MYSQL server root user doesn't work anymore

I was trying to make some configuration from Webmin on my server and suddenly I don't know what I've done but I receive the following error: The full MySQL error message was : DBI connect failed : ...
2
votes
3answers
119 views

How to save the contents of unlogged console screen to a file?

I'm on a tty, with a lots of command inputs, bulk of verbose their output, and some error messages. Now I have to get all those stdin/stdout/stderr texts, in the format displayed in the console ...
0
votes
1answer
69 views

DynDns change by going to a web page (http) in terminal

I have a ISP with DynDns service where I am supposed to make the server use http to communicate with the DynDns servers at the ISP. It goes like this: ...
2
votes
1answer
49 views

how to list all directories and a specific line inside a file in that directory

My server has hosted many websites for testing/dev purposes. My problem is that my mysql server has around 95% load. So, I want to list all the directories and the db lines from config.php. Things ...
0
votes
3answers
67 views

mysql questions for beginners

ok, I have a few questions regarding mysql. I am currently running ubuntu 12.04.4 LTS command line version. I am looking for a database that I can use. I am confused at this point because I am ...
0
votes
1answer
36 views

What is the best method of measuring hdd status on a server?

I have a brand new server in place that is running 14.04. This is acting as our web server for hosting multiple Moodle sites for nearby school districts. I don't have the GUI installed. I need to ...
0
votes
0answers
16 views

Test dev website

The task is to drop a few MySQL tables from a dev site and test if that generated any errors on the site, before doing it on the live site. Since the site is also a live site, I included the dev site ...
0
votes
0answers
73 views

How to get working cups command line tools on Server 14.04

It looks like some of the commands like lpr and lprm have broken versions that don't work with cups. These commands worked properly on 10.04. lpr for cups has an -o option, but no lpr is intalled ...
1
vote
2answers
49 views

Running shellscript with cronjob is making problems, executing manually not. Ideas?

I made a shell script called /home/root/cron_grads.sh (chmodded 755) on my server. In this directory are more grads-scripts like 500hPa_p0.gs (644). My main script creates a temporary file ...
0
votes
1answer
67 views

How can I keep something running but run other terminal commands? [duplicate]

I'm sure this is a really stupid question and it's probably already been asked a dozen times on this site, and I just don't know which keywords to search. I'm still really new to managing a server and ...
1
vote
0answers
74 views

How to solve this error: cut: write error: Broken pipe [closed]

I am a first ubuntu user and installed the SoftSearch tool and then execute the tool by using two commands: samtools index Small_test.bam perl ./SoftSearch.pl -b Small_test.bam -f chr1.small.fa ...
0
votes
2answers
54 views

How to a show the disc usage by directory in my home directory using the Terminal?

Could someone let me know which tool I should use? I'm trying to run this on an Ubuntu Server VM. So I believe I need a tool such as discus.
0
votes
2answers
65 views

What is sudo -i [duplicate]

What does this command? sudo -i? I'm not sure if I should have made a post with just this question, but since I'm a Linux newbie and I have a lot more questions and doubts, I decided to go ahead and ...
3
votes
1answer
347 views

Maximum terminal resolution in ubuntu server virtual box guest

I have a VM machine running ubuntu 14.04 (guest) on a Win7 host. I currently have the resolution of the server set to 1024*768 by adding this GRUB_CMDLINE_LINUX_DEFAULT="splash xvga=1024x768x24" ...
3
votes
1answer
83 views

Stop Ubuntu from trying to load a GUI

So I have a computer running Ubuntu Server 12.04, and one operation I did needed a GUI (the application was graphical) so, being a noob, I ran: sudo apt-get install xubuntu-desktop This worked ...
0
votes
4answers
42 views

Ubuntu server: How to pipe / scroll through search results of a certain command

This is perhaps a really simple thing to do, however, after looking on the internet I can not find the fast answer anywhere. Suppose that I have this Ubuntu server running in a really small ...
1
vote
2answers
88 views

Attempting to setup Ubuntu 12.04 SSH Server: -bash: /etc/hostname: Permission denied

Attempting to setup an SSH-server running Ubuntu 12.04. Went to "HowToForge" to scout for potentially advanced or knowledgeable advice upon how to accomplish this, then I ended up running into a ...
-1
votes
2answers
132 views

get cpu usage in command

I want get cpu usage. I used this command : top -bn1 | grep "Cpu(s)" | sed "s/.*, *\([0-9.]*\)%* id.*/\1/" | awk '{print 100 - $1}' But return 100%. I dont know what to do.
2
votes
1answer
109 views

Is there any user friendly alternative to screen?

I am running Ubuntu Server and want to have multiple terminals. Screen works fine but..it is not user friendly. I mean..after pressing Ctrl+A you get no notification of you being in command mode, in ...
0
votes
1answer
52 views

Mounted a windows file in ubuntu, can't access it through terminal

So I am 95% sure I mounted the drive(files) that I wanted from a Windows server to ubuntu. I followed the tutorial on http://www.howtogeek.com/howto/22518/how-to-mount-a-remote-folder-in-ubuntu/ and I ...
0
votes
0answers
77 views

Run multiple scripts using one script on boot?

I need help. I've tried several methods to get this to work. Basically, I home host a server on my PC, the problem is, I want it to be online when logged in as every user on the computer. It uses ...
2
votes
1answer
1k views

linux command to prevent dos attack by using netstat and iptables

I want to DROP more than 200 requests per ip to prevent ddos attack. this is command that i used to detect requests count per ip : netstat -alpn | grep :80 | awk '{print $5}' |awk -F: '{print ...
2
votes
1answer
180 views

Can ssh onto server using PuTTY, but not ssh from terminal

I have a very simple Ubuntu server with a couple of git repos on it, nothing special. At home I used a Windows PC, and use the PuTTY program to interact with the server. At work however I have a Mac, ...
1
vote
1answer
41 views

How to return to command line in 12.04 server

How do I return to the command line in Ubuntu 12.04 server when all there is, is a line with nothing but a flashing underscore on it. I typed a command wrong and it is stuck like this.
1
vote
1answer
81 views

How to find name of the virtual machine Ubuntu server is being hosted on?

Is it possible to find out what version and what type of virtual machine is my ubuntu server being hosted on its on a remote server?-Thanks in advance.
1
vote
1answer
132 views

How do I fix my internet on Ubuntu 12.04 server?

I have Ubuntu Server 12.04 installed with no GUI. I installed ownCloud and webmin a few months ago with no problem, so I know my internet used to work. The power went out while the PC was on one day 2 ...
1
vote
2answers
89 views

How can I list the hard drive and all it's partitions including size from terminal?

I have Ubuntu server 12.04 installed with no GUI. I would like to list my hard drive and it's partitions along with how big each partition is using the command line.
1
vote
2answers
891 views

Create a Screen session with a bash script using contab

I want a .jar file to run every time the server boots up (we're using a VPS), and so I've edited crontab using crontab -e and then adding @reboot bash /home/bash/startserver.sh. But I haven't even ...
1
vote
1answer
119 views

How can I encrypt my home folder after a Ubuntu Server 13.10 install?

I would like to know the command(s) to enable the encryption of my home directory after installing a Ubuntu Server with a release version of 13.10. Note: This is a Ubuntu Server install, not a ...
0
votes
0answers
17 views

Trigger a command in ubuntu/linux whenever a new file is created in a directory

How could I trigger a command in ubuntu/linux, whenever a new file is created in a directory by a Java webapp ? Usage/Context: I need to move a newly created file (created by java app), in a ...
0
votes
0answers
37 views

command line: How to give right to log in using ssh to user?

To learn some server management I just created a new Ubuntu 12.04 server. Since I only had a root account I created a new user with adduser kramer65. I now want to ssh into the server using that new ...
1
vote
1answer
880 views

Can't run screen due to “cannot open terminal '/dev/pts/1' - please check” error

To learn some server management I just created a new Ubuntu 12.04 server. Since I only had a root account I created a new user with adduser kramer65. I then switched to that user using su kramer65. I ...
0
votes
3answers
118 views

server version where do I go to from command line interface prompt (DOS-type screen) [closed]

help I am new to Linux/Ubuntu. I installed the server edition on a micro server instead of Windows home server as used on my other one. After 3 attempts it finally installed. However all I get at ...
2
votes
1answer
95 views

how download mails folder from command line?

I want to download mails (batch download) i have in the "sample" folder from my yahoo mail to local folder. any command-line client for downloading mails from mail? thanks
2
votes
1answer
202 views

How to reboot automatically and run terminal command(s) on startup?

So I run a Minecraft server on Ubuntu Desktop 12.04. It runs very well except every so often the computer does need a reboot, as it should considering it runs 24/7. I'm relatively new to Ubuntu ...
0
votes
2answers
3k views

accessing MySQL using terminal in Ubuntu 13.04

accessing phpmyadmin db from terminal now in ubuntu 13.04 i firstly installed mysql server with sudo apt-get install mysql-server mysql server version 5.5 now in terminal i can check if it is working ...
1
vote
0answers
92 views

How to install network drivers via terminal?

I have a PC with: 32GB RAM 1T harddisk 8 core cpu ubuntu server 12.04 I installed virtualbox and created four VMs. I think my mistake was I didn't leave any space for the host so I got "The ...