Ubuntu is a free open source operating system based on the Debian GNU/Linux distribution. Consider using http://askubuntu.com/ to ask questions about it.

learn more… | top users | synonyms

0
votes
0answers
3 views

software raid1 compatible on OSX and Ubuntu on external disks

I'm using external disk dock with two disks and want to setup software raid1 so that the setup works when usb3 mounted from both ubuntu and osx. How is this possible?
0
votes
1answer
16 views

Why are Fedora partitions not listed under the extended partition?

I recently installed Fedora 22 on a desktop PC. I wanted to install it on a logical partition. During installation, in the Anaconda installation wizard, I chose to create a 16 GiB logical partition as ...
0
votes
0answers
4 views

How can I change my fcitx input method from the terminal?

I am looking for a way to change the fcitx input method using a terminal command. I know I can use the hotkeys, but for the purposes of an application I am writing, I need to use a command (something ...
0
votes
4answers
3k views

Dual booting windows 8 and Kali Linux 1.0.8

I'm trying to install kali linux along with windows 8 The latest Kali version (1.0.8) supports booting alongside windows 8 I installed Kali Linux from a LiveCD, rebooted and it went straight to ...
0
votes
0answers
6 views

dns forwarding for specific zone not working - bind

In bind we created specific zone and got set a forward options, but it fails to resolve. Details as follow, For mydomain.com dns working fine. but we use developer site called mydomain.com.dev we ...
0
votes
1answer
6 views

codeblocks in ubuntu : code not running

I installed UBUNTU 15.04 onto my laptop in the same drive as Windows 8.1. When i try compiling and running a code on codeblocks in ubuntu, there is no output but this : "sh: 1: ...
2
votes
1answer
192 views

How to get latest version of git?

I am running Ubuntu 14.04 LTS, need to install GIT 1.9.5 or above. I did sudo apt-get install git then ran git --version and it shows I currently have 1.9.1 installed. Git download url shows latest ...
2
votes
6answers
9k views

Editing CSV files in Ubuntu

What is a good way to edit CSV files in Ubuntu? The files look something like this: This,is,data,with,a,header 2,2,3,4,, 1,,3,,6,6 ,5,3,5,5,6 1,2,,,, 1,2,3,4,8,6 1,,9,,5,9 -1,,3,4,5,6 1,2,0,4,5,6 ...
0
votes
1answer
50 views

devices inside /dev - are their naming persistent by default?

Can i check if devices like sda , sdb naming in /dev/ are persistent by default or there are some udev rules in place to create persistent naming for them ? Does udev itself create device naming ...
2
votes
1answer
33 views

tun interface not working in ubuntu14.4?

I have problem making the tun interface on Ubuntu 14.04 work correctly. The commands lsmod | grep tun and sudo modprobe tun return nothing. Even the module, tun.ko.gz in /lib/modules/ and ...
0
votes
2answers
18 views

DNS with OpenVPN on a linux server with routing enabled

I am running a Ubuntu 14.04.1 LTS headless server. Before I enabled routing, my AirPort Extreme was the router. At that point, DNS was not an issue. Ever since I stopped using the AirPort Extreme, and ...
-1
votes
1answer
18 views

Can we install Other Linux softwares in Kali Linux

I am a networking Student and just moved to Kali Linux. For my University work I need some software like ns2/ns3. I know we can install them in Ubuntu. My Question is Can we install ns3 and ns2 in ...
0
votes
0answers
17 views

Accessing shell variables inside 'sudo' block : export doesn't work

I am writing a script to fix a missing 'F' letter in a mail log file. The mail log file is continuously updating. I am getting a file name, after that I am doing 'sudo su' to get superuser access. ...
2
votes
1answer
74 views

Saltstack best practices documentation clarification

To be clear, I am not asking for the "best way" to use saltstack. I understand that there are tons of ways to use saltstack, and what works for you, works. My question is specifically about the best ...
3
votes
2answers
5k views

How to release mouse from VirtualBox?

I've got Oracle VirtualBox 4.2.10 installed on Ubuntu 12.04, and with evry virtual machine I create, the "host key", which is supposed to release the mouse doesn't do anything. I've already installed ...
1
vote
1answer
666 views

In a Shell scripts, check version of installed package, make a decision based on output

Looking to write a cross distro / cross version shell script that makes sure a forced version of PHP is installed Example: Ubuntu 12.04 has 5.3, Ubuntu 13.10 has 5.5, Debian 7 has 5.4 I need this ...
0
votes
2answers
120 views

Sudo usermod -a -G is totally ineffective

Really simple, I run the following in Ubuntu 14.04 Server, logged in as max: sudo usermod -a -G www-data max When I run groups as max after doing so, www-data is not in the output set of groups. ...
0
votes
0answers
14 views

Recover lost Ubuntu Partition

I lost 60GB of my hard disk partition during a failed Ubuntu installation. It is now invisible while using Windows 8.1. How can I recover it? Please help.
1
vote
1answer
3k views

Ubuntu 13.10 has no Suspend or Hibernate Options

I have a Lenova Yoga 2 Pro, and I have Ubuntu 13.10 installed. I am having some issues setting the power functions. At the moment I can not suspend or hibernate the laptop. So from Gnome 3.10 I have ...
140
votes
8answers
150k views

How to check which apache modules are enabled/installed?

which is the most elegant way to check which apache modules are enabled?
0
votes
0answers
5 views

Proftpd File Permissions Issue

I'm using proftpd on a Ubuntu server and the FTP is working on a directory with 777 permissions. Files are uploaded as ftpuser:ftpgroup which is correct. However, on a directory owned by someone else ...
0
votes
1answer
28 views

Cannot boot ISO on only one machine

I have a version of Ubuntu 14 on DVD and USB to boot from. This ISO boots from other machines via both DVD and USB, but it will not boot on the particular Dell I need it to. Initialization crashes ...
1
vote
1answer
362 views

How to enable entering username in Zorin OS

I have joined my zorin os (v8) to a domain. But I can not find how to enable entering usernames on the logon screen. How do you enable this feature?
0
votes
1answer
30 views

Script Shell Find a String in a file

Here is the structure of my file: /**** Some Text here ****/ UN 10.147.243.93 51.46 KB 256 34.2% UN 10.147.243.89 83.05 KB 256 34.6% DN 10.147.243.88 66.43 ...
0
votes
1answer
4k views

ubuntu 13,10 “Failed to download repository information”

I have ubuntu 13.10- 64 bit version on my machine.recently i tried to install postgres for ROR development but i couldn't complete the postgres installation and found that my update manager always ...
1
vote
3answers
4k views

Remove files recursively in Linux

How to remove all the .pyc files recursively from a certain directory including sub-directories? I tried $rm -f *.pyc This seems to work for only the current directory, but not the directories ...
0
votes
1answer
13 views

Installing luabind on Ubuntu

So I've been looking on the internet for a moment and found nearly no tutorial, or good instructions on how to install luabind. I found that I need to have boost and lua 5.xx installed to install it; ...
1
vote
0answers
9 views

qemu apt-get error failed to fetch

I am running a qemu terminal and trying to scp files into it. In qemu, I am running a linaro release. I have configured /etc/network/interfaces with auto eth0 iface eth0 inet dhcp I have also ...
1
vote
2answers
2k views

How to fix Truecrypt MBR using Command Prompt or Linux live USB?

I was playing with TrueCrypt and decided to make a fresh installation of Windows 7 from USB stick. Unfortunately Windows 7 installer: "setup was unable to create a new system partition" My entire ...
0
votes
2answers
598 views

Which media player software can show two subtitles at once in ubuntu

I think KMplayer is work but it's work for KDE but not for GNOME
0
votes
1answer
9 views

ubuntu phone - How to transfer photos from phone to ubuntu computer

I want to transfer my photos from my ubuntu phone to my ubuntu (actually Mint) computer.) I have tried via bluetooth without success. Can you even do that?
1
vote
1answer
24 views

“WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!” constantly occurring, even *after* deleting known_hosts

As per title, lately I started getting the error "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!" after I set up a new server in AWS. I'm on OSX Yosemite (10.10.3) I'm aware of nearly all the ...
0
votes
0answers
11 views

Ubuntu: have different passwords for user and for encryption

On the install routine of most linux distros, if you elect to encrypt your files you are asked for seperate Passwords for a. the user's account and b. the encryption on the files. Ubuntu doesn't seem ...
2
votes
1answer
3k views

Unity doesn't work on VNC server under Ubuntu 14.04 LTS

After upgrading to Ubuntu 14.04 LTS, I find the Unity destkop in vnc4server never works as it did under Ubuntu 12.04 LTS. Here is my ~/.vnc/xstartup for vnc4server: #!/bin/sh xrdb $HOME/.Xresources ...
3
votes
1answer
5k views

wifi p2p between ubuntu 14.04 and android

I attempted to make a wifi p2p connection between Ubuntu 14.04(kernel 3.13) and Android 4.4 Kitkat(Samsung Galaxy Note 2) In Ubuntu I use wpa_supplicant v2.1 which is built in to Ubuntu ...
0
votes
2answers
20 views

Ubuntu: how to remove emacs 23 data files

I had emacs 23 installed via apt-get, but I want to remove it completely before upgrading to emacs 24. I did sudo apt-get remove emacs* to remove emacs 23. But some emacs 23 files remain. locate ...
0
votes
0answers
9 views

Can squid be used in reverse or any other package be used in reverse

I'm attempting to host a minecraft game server. The primary obstacle is that the network I'm using only has 1 mbps upload. I have a vps available that has 1Gbps both ways. I would like to have the ...
0
votes
1answer
25 views

What is denied when doing “sudo su postgres”

I have a machine with Ubuntu 14.04.2. It has PostgreSQL installed. My user can sudo. If I do sudo su postgres, I get the following on the screen and it switches me to the postgres user: Access ...
1
vote
0answers
25 views

After installing updates and rebooting server SSH keys modified to use hostname instead of IP

After a recent update on my Ubuntu 14.04 AWS EC2 server my remote machines could no longer ssh in. Checking the syslog on the EC2 I found: Jun 26 02:27:06 ec2: ...
0
votes
1answer
24 views

Bash - enable execution only if script is run from a specific directory

I need to write a shell script that can only be executed if it is run from the home directory of the currently signed-in user, and I have no idea how to check that from the script itself. Any help ...
0
votes
0answers
9 views

Tracking changes of a file

Please, i'd like to know if there is a solution (command linux for example) to track changes in a file. UN: up ; DN: down Here is my file before changes: UN 10.147.243.93 51.46 KB 256 34.2% ...
1
vote
1answer
34 views

Resizing a partition in Linux - Bad magic number in super-block error

I was trying to resize my partition with parted and resize2fs. I tried the following: #parted Partition Table: msdos Number Start End Size Type File system Flags 1 2097kB ...
0
votes
3answers
41 views

Script Shell Extract substring

Please, i'd like to extract string just before '.fr'. Here is some lines of my file: g-82.text.text1.fr.worker1 g-xx.yyyyyy.zzzz.fr.worker2 i'd like to extract this text: g-82.text.text1 ...
0
votes
1answer
274 views

There is no public key available for the following key IDs: 7638D0442B90D010

I try to add the debian sid source on ubuntu 12.04 LTS. I have already installed debian-keyring debian-archive-keyring. $ apt-cache search keyring | grep debian debian-archive-keyring - GnuPG archive ...
3
votes
3answers
30 views

LibreOffice Writer … the ohm sign (Omega)

I am using LibreOffice Writer on Ubuntu 14.04 to do a class assignment and I need to use the Ω (Ohm sign, big letter omega) to show resistance. Unfortunately I can't seem to find the sign anywhere. ...
2
votes
1answer
43 views

udev symbolic links - where is /dev/sda pointing to

It is said that udev create symbolic links identifying the actual device and /dev/disk/by-uuid is an example. [root@centos1 by-uuid]# pwd /dev/disk/by-uuid [root@centos1 by-uuid]# ls ...
0
votes
0answers
5 views

Tshark interface to sniff on

I have a MQTT broker and a MQTT client both running on the same machine. The client sends publish packets to the broker. The broker processes it and sends it back to the same client as publish packet. ...
18
votes
4answers
67k views

Automatically start VNC server on startup

I installed the Ubuntu desktop on a Ubuntu 9.10 VPS server and am able to connect to the server using TightVNC. However, the VNC server on this VPS can only be started by logging in through SSH and ...
2
votes
1answer
253 views

Redmine install on Apache2/Ubuntu 12.04 EC2 instance

Can someone point me to a guide or guides that explain how to get Redmine running on Ubuntu 12.04? From installing Ruby to setting up Passenger? I've tried a handful of times and have never been ...
2
votes
0answers
55 views

Issue generating redmine report in PDF

I am using Redmine for issue tracking and now I need to generate a report of all the issues and their states. The problem is that, when I press de PDF button at the bottom of the issue list, to ...