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)

1
vote
2answers
55 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
53 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
41 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 ...
1
vote
1answer
78 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
39 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
34 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
58 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
2answers
129 views

BASH: Special character '�' suddenly appeared (Ubuntu)

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 ...
1
vote
0answers
97 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
0answers
23 views

How do I add a specific update to a Ubuntu install stick

I am using a USB to install Ubuntu to a new laptop. It will require a separate package update to configure the wifi afterwards via an ethernet connection. Is there a way to add this package to the USB ...
0
votes
2answers
48 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 ...
0
votes
0answers
13 views

TweakTool scaling factor not working

I installed TweakTool on my Ubuntu 14.04 and was playing around with it and since then the settings on LibreCalc are not right. Font is too small. Take a look at the bottom where "Sheet 1", "Sheet 2" ...
0
votes
0answers
26 views

not displaying boot menu

I had both Ubuntu 12.04 and windows 7 on my Hp desktop and it was working properly.Now the problem is when I tried to boot the system it is not going to the boot menu instead it continuously blinks ...
1
vote
2answers
103 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
32 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
34 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 ...
0
votes
1answer
59 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
34 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
182 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
7 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
259 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 ...
0
votes
0answers
138 views

Establish communication between Arduino Mega & Linux Terminal in Ubuntu 14.10

I am failing regularly in establishing syncing between my arduino mega(/dev/ttyACM0) and the terminal. Even I thought of establishing output using GNU Screen utility. The terminal just hangs for ...
1
vote
0answers
104 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
0answers
27 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 ...
0
votes
0answers
66 views

How to apply the OSPF patch to ns2 2.35 on ubuntu 14.04

I have been using ns2 and nam for a long time on my ubuntu. Now I have to apply a patch (OSPF) to it. I have been searching for how to apply a patch in linux (as I'm kind of new in it) and all I got ...
1
vote
0answers
32 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
37 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 ...
6
votes
2answers
125 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
143 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
137 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
99 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
106 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
49 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
91 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 ...
1
vote
0answers
130 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
123 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
0answers
151 views

Vino server not responding(refreshing) to remote client in Ubuntu 14.10

I have 2 Vino servers installed on 2 different machines having Ubuntu 14.10 with almost same configuration. The thing is in one of the machines, the Desktop Sharing of server at 5900 works fine and we ...
0
votes
1answer
48 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
36 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
159 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
46 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 ...
1
vote
1answer
251 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
1answer
39 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
68 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
19 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 ...
0
votes
0answers
79 views

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

*/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
43 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
38 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 ...
1
vote
1answer
61 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
16 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 ...