Ubuntu is a Linux distribution with an emphasis on ease of use and installation. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

learn more… | top users | synonyms (1)

0
votes
0answers
418 views

errors while installing python-pip on ubuntu

When running sudo apt-get install python-pip I got the following error messages, what causes the problem and how to fix it? Thank you very much for any help. Err ...
1
vote
2answers
245 views

Do programs source .bashrc when run?

I append to my PATH environment variable in my .bashrc file (Ubuntu v12). I also have a service (Atlassian Bamboo) that relies on the modifications to PATH. When I restart the service (which runs as ...
-2
votes
1answer
167 views

How can I run a script as sudo and for it to not ask me for a password?

I want to run the following script: #!/bin/bash if grep -qs 'MinecraftServer' /media/kiancross/MinecraftServer/MinecraftServer; then echo "Disk already mounted, server boot will continue" else ...
0
votes
1answer
182 views

stop IP address to land on website home page [closed]

I notices that when i type my VPS IP address in address bar then it display website home page. So it may case duplicate content. Can you please tell me How to stop IP address landing on website home ...
2
votes
1answer
489 views

Lost sound with xmonad

I downloaded this config to set up xmonad. Hit volume up, down, works fine. Hit the volume mute hotkey, sound's gone. All good. Hit the mute key again, sound's still off. Hit volume up, nothing. ...
0
votes
0answers
158 views

Recover /var/lib/dpkg directory in ubuntu 14.04

Today by mistake, i deleted directory /var/lib/dpkg using "rm -rf /var/lib/dpkg/*" from my VPS server. Can you please tell me how i can recover this directory ?
0
votes
1answer
1k views

Curl Command PUT Method

curl -i -X PUT -H 'Content-Length: 1000' http://dfdc:dfdc@xx.xx.xx.xxx:xx/directory/ Above curl doesn't produce any response at Ubuntu shell prompt.
2
votes
1answer
1k views

Easy command line method to determine specific ARM architecture string?

I'm trying to write a script which will determine actions based on the architecture of the machine. I already use uname -m to gather the architecture line, however I do not know how many ARM ...
3
votes
3answers
505 views

BASH: �ls: command not found when typing 'ñ' by mistake

When I erroneously type 'ñ' (expecting to type any command) and then remove it and type the correct letter, the output returns the command with a special character attached �, obviously the shell ...
2
votes
0answers
3k views

mate-panel --reset command not found

After some updates, our Ubuntu 14 MATE desktop doesn't have a panel, nor does it load a terminal. After pressing ctrl+alt+f1, and logging into our account, I tried the command: mate-panel --reset ...
0
votes
2answers
213 views

Systemd, change order of unit file starts?

I have written a sample test service and it looks as below, [Unit] Description=Test service [Service] Type=dbus BusName=test.sample Restart=on-failure ExecStart=/usr/sbin/testbin -n ...
1
vote
2answers
593 views

Installing older versions of python packages with apt-get (specifically wxpython)

I've been beating my head against the wall trying to troubleshoot a graphical program with a WX backend. We've found that wxPython 2.8.10 work fine, and seemingly any newer releases doesn't. Despite ...
1
vote
1answer
105 views

difference between “ip link set” and “disconnect / reconnect” in the GUI?

I've got an Ubuntu 14.04 guest installed in virtualbox. Often when the host machine changes networks or is suspended and restarted, the guest VM loses network connectivity. I can reliably get it ...
0
votes
0answers
111 views

error with Transcoding with ffmpeg activated by inotify

I’m trying to automatically transcode videos, that are begin uploaded constantly to a server. That is why I have came up with the idea of using inotify, by checking every moment for new files on the ...
1
vote
1answer
375 views

how to force upgrade of coreutils on old distribution?

I'm running an oldish kubuntu "precise" I need a more up to date version of basename with the -s option. Can I force this somehow? Seems I need 8.14 looking at a version I see on a newer box.
0
votes
1answer
146 views

How and where should I add a PATH? [duplicate]

I need to add a new directory to my PATH so that SublimeText can find it. I assume this should be added to either .bash_profile, .bashrc, or .profile. Which one should I add it to? .bash_profile ...
0
votes
2answers
1k views

Running a program (command) on terminal after login screen in Ubuntu 14.04

NOTE :- This is not a duplicate question. I have searched about 100 times on this site and several others including Ubuntuforums,askubuntu and stackoverflow. I couldn't get my work done. OBJECTIVE :- ...
0
votes
0answers
9 views

About Back Track question

Hi all I just joined these forums. I have never used a Linux OS before I installed the Ubuntu sever using vmware (version 10.0.0) the installation completed successfully, but my issue is when it ...
1
vote
2answers
1k views

Ubuntu/Mint (trusty) : Wifi keeps shutting down

I Run Mint on my desktop and I'm facing a very annoying problem : wifi keeps shutting down after a few minutes or a few hours and it never comes back automatically. To restore network, I have to ...
1
vote
1answer
327 views

How to bind arduino as a fix block-device — /dev/ttyACM0?

I want to bind my Arduino Mega as /dev/ttyACM0. Sometimes, it turns out to be /dev/ttyACM0 and sometimes as /dev/ttyACM1. I have taken help from this question and this tutorial Someone please help ...
1
vote
1answer
221 views

How to start a custom service

I'm very new to Linux and the solution might be easy so excuse me for that. I'm trying to run an application called EnCase Remote Recovery, which basically takes a remote image of a system. In order ...
2
votes
1answer
129 views

Run Lua commands in Awesome window manager

I need to have network widget in my Awesome manager. When I placed in very bottom of rc.lua line awful.util.spawn("nm-applet") my Awesome was not starting until I have removed it. What is wrong ...
0
votes
1answer
269 views

What do +,- and ? symbols represent in `service --status-all`

What do +,- and ? symbols represent in service --status-all represent in Ubuntu 14.04. I am not able to understand it properly. I guess + here might mean delayed services which start after the ...
7
votes
2answers
373 views

Run Ubuntu Security Updates every Saturday only

A clients wants to enable automatic security updates on their 12.04 box, but it has to be once per week, on saturday only. (Why I don't know) When I do dpkg-reconfigure -plow unattended-upgrades it's ...
0
votes
2answers
781 views

VirtualHost with mod rewrite pointing at tomcat application

I am setting up a server running on Ubuntu 14.04. I have apache and tomcat installed with the rewrite module for apache and mod_jk enabled. I have mod_jk properly configured so apache is forwarding ...
1
vote
2answers
3k views

How to restart my java program automatically if it gets killed?

I am running my runnable jar in linux machine (machineA) as shown below. In the runnable Jar, I have a java program which sends email to me every 15 mniutes. ...
0
votes
1answer
535 views

Not able to connect to my Ubuntu SSH Server even after port forwarding on router

I am using a Ubuntu Laptop on a WiFi router. I have installed SSH server on it so that I can access it from my office network. I have forwarded port 7000 from my router settings. Now, when I try to ...
0
votes
3answers
460 views

Unknown cause for redirect on 80 port

I have an Ubuntu 14.04 server with Apache 2.4.7 running there, hosting one site on 80 port. Today I discovered that every request to 80 port redirects to another website with response: HTTP/1.1 301 ...
1
vote
0answers
129 views

Variations in Ubuntu 12.04 /usr/bin/time statistics

I have a command line tool which I run on Ubuntu 12.04.5 LTS. I need to calculate the cpu time for this program. I have been checking /usr/bin/time function. command: /usr/bin/time -v -a -o ...
0
votes
2answers
1k views

Installing Ubuntu/Debian packages on Arch [duplicate]

I am considering switching from Ubuntu Linux to Arch Linux. I have a long list of packages that I've installed using apt-get that I would like to install right after I install Arch itself. Is there ...
2
votes
0answers
196 views

Which packages should I install to make Fedora 21 connect to internet by Android Phone?

In the past I used Ubuntu 14.04 and when I want to connect to internet by my Android phone, I connect it directly using USB cable without installing drivers or some packages like using the Huawei ...
0
votes
1answer
412 views

How to get SFTP on Ubuntu working again? Should I try to fix it or reinstall?

Update: Added output from two more logs, and am now only tailing the last twenty lines...so you can see the relevant lines. After six months of working perfectly, SFTP on my Ubuntu machine has ...
0
votes
1answer
165 views

Understanding network problem (syslog)

I am running a lubuntu 14.04 server and its always worked well, except for the last couple of days it keeps dropping off the LAN. I am using a couple of powerlink adapters to connect it up as WiFi was ...
1
vote
0answers
80 views

Mounting docker volumes to conatiners

I have seen that once i have ran my container then its not possible to attach any volume to it. I was thinking of creating a container which has suppose 2 volumes mounted from host Container A -v ...
4
votes
1answer
1k views

Running X without root

I have a kiosk-style host running Ubuntu Server 14.04. I'm trying to set it up to play some videos, TV-like. Sometimes it needs to play Youtube playlists and other web-based video streaming services ...
0
votes
2answers
169 views

Fetching data from server by FTP command

"Fetching data from server by FTP command" is not a problem .But if I like to fetch the today's file from the server, whose name is like (BACKUP20141210) and if it presents in a folder with previous ...
2
votes
3answers
4k views

Docker container not able to ping host

I am following this tutorial https://docs.docker.com/articles/networking/#between-containers I have used following commands $ sudo brctl addbr bridge0 $ sudo ip addr add 192.168.0.160/24 dev ...
0
votes
2answers
174 views

Problem connecting with Beagleboard through serial?

I'm trying to connect to a BeagleBoard on Ubuntu using a Serial-to-USB adapter. It is currently being recognized as ttyUSB0 on our system. When I run "screen /dev/ttyUSB0 115200" the output just says ...
0
votes
1answer
412 views

How can I mount a subfolder of a shared folder?

I'm using this command to mount a shared folder inside my VM: sudo mount -t vboxsf vm_shared ~/shared/ Is it possible to mount a subfolder inside vm_shared to ~/shared/ ?
1
vote
0answers
31 views

Laptop Internet-synced Time Jumps Ahead by 44 Hours After Closing Lid

I haven't been able to isolate a cause for this, but sometimes when I close the lid on my laptop, the system time will jump forward, usually 44 hours to be exact. It will still be in sync with the ...
1
vote
0answers
223 views

Why isn't my etc/cron.d file executing? [duplicate]

*/5 * * * * root ruby /opt/redmine/extra/svn/reposman.rb --redmine-host http://tracker.intranet.****.com.ar --scm Mercurial --svn-dir /opt/repos/hg --command "hg init" --owner www-data --url ...
0
votes
1answer
182 views

How to autoremove with apt?

After uninstalling a package I used to do apt-get autoremove to remove other unused dependencies. I understand that apt (rather than apt-get) is the modern way to manage packages on the command-line ...
1
vote
2answers
81 views

last -t in Linux

I'm a little bit surprised on Ubuntu and Cent OS, the last -t actually behaves as showing logins up till the time specified, as opposed to as of the time specified as stated in its man page. Here is ...
2
votes
1answer
222 views

Change the kernel in downloaded Ubuntu Image [closed]

I'm adding multiple new system calls to kernel. I want to test my custom kernel by making an bootable ISO out of it trying to boot on another machine. As a part of making this bootable ISO, I got ...
-1
votes
1answer
70 views

Why isn't my apache authentication working?

I am trying to set up apache2 authentication for a given website which can be found locally on my webserver. When I try to open up the website it states Internal Server Error 500. Then I put the ...
1
vote
0answers
69 views

USB connected devices info

In my project, I need a list with all connected usb drives and some data about(name, format, size, label, if it is mounted or not, where is mounted) All this data is parsed by a php script then stored ...
0
votes
2answers
546 views

Can't boot Linux Mint nor Ubuntu

When I try to install Linux Ubuntu or Linux Mint on my Toshiba Qosmio X500-10V and I pass the install menu this appears: After Mint countdown: After pressing install on Ubuntu: And after that I ...
0
votes
1answer
229 views

XBMC crashing while playing SOME but NOT ALL videos

I am using Frodo on Ubuntu 14.04. XBMC is crashing when playing some but not all videos - most videos work. My hardware specs (old computer) 00:00.0 Host bridge: Intel Corporation Mobile ...
1
vote
1answer
82 views

Packaging Windows Application with Wine in deb and rpm format

My Question is can I package a Windows application with WINE in .deb and .rpm file ? Just like TeamViewer and Picasa for Linux. I don't have the source code of the application available with me, so ...
1
vote
1answer
387 views

How does sudo -E work here?

I executed the following command to add a ppa repository in Ubuntu: sudo add-apt-repository ppa:ppaname/ppa This command returned an error that the ppa name format is not correct. Then I looked here ...