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)

11
votes
5answers
521 views

Is there a more succinct alternative to piping to wc for counting files in a directory

If I do ls -1 target_dir | wc -l, I get a count of files in a directory. I find this a bit cumbersome. Is there a more elegant or succinct way?
0
votes
0answers
384 views

How to resolve broken packages when upgrading: from Ubuntu 13.10 to 14.04

I am having an issues upgrading to 14.04 (Trusty Tahr) from 13.10 (Saucy Salamander), where I get a message Could not calculate the upgrade, and I believe it is due to my unofficial software packages. ...
1
vote
1answer
320 views

How to detect RAID 0 from Ubuntu Live CD?

I have Ubuntu 10.04 installed on a server with RAID 0 configuration. The server has many user accounts and the users have a lot of data in the server. The server has been crashed due to removal of ...
1
vote
1answer
60 views

Connecting remotely to Red Hat [closed]

so I've done this tutorials http://nearlydeaf.com/?p=1122 http://golubev.org/?p=73 also installed minimal version of gnome in Redhat my firewall is open on port 3389 and then trying to connect ...
0
votes
1answer
68 views

How to install QGIS from source into user space?

I want to install QGIS from source on Ubuntu 13.10. (saucy). into ~/bin. There is Python 2.7.5+ installed. Therefore, I cloned the repository to my machine and checked out the master branch. First I ...
2
votes
1answer
99 views

A file exists but executing it doesn't work

I downloaded a Java tarball, extracted the archive and copied over scp to a remote machine. Using the ls command, the java executable exists: ubuntu@Ubuntu:~$ ls -la /home/ubuntu/jre1.7.0_55/bin/ ...
1
vote
1answer
39 views

pam-auth-update does not display prompt screen or log any failure

~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise ~# dpkg -l \*pam\* | grep ii ii libpam-krb5 ...
1
vote
2answers
74 views

Remotely work on Red Hat Box

So we're working on a project and currently,have the need to edit/save files remotely on a Red Hat box. We are accessing this files mainly with sublime-text. So we are trying to figure out what is the ...
2
votes
1answer
57 views

SSH tunnelling outgoing traffic shaping

I am using an OpenSSH server for a client app that uses the traffic forwarding, SSH tunnelling and some users are consuming an extraordinary amount of bandwidth. Is there a way to shape the traffic on ...
0
votes
4answers
86 views

Is is safe to share /home between Ubuntu and Fedora?

I already read this thread, so please don't mark me as a duplicate of it. That asks how. I want to know how safe it is. I currently have Fedora 20 with GNOME 3.8. I've already messed up its ...
0
votes
1answer
39 views

Global IP on DomU in XEN, using Ubuntu

Can a DomU have a global IP in Xen? I see that DomU's are connected to Dom0 and then physical ethernet using xenbridges, so is it technically possible in Xen to assign global IPs to DomU so it can be ...
0
votes
1answer
76 views

Multi-user text mode runlevel in Ubuntu

I use Ubuntu as a server, and I want to change its runlevel to be full multi-user text mode (like init 3 in RedHat). Using runlevel command, I see that am running N 2 which is Graphical multi-user ...
2
votes
2answers
170 views

root partition getting full with nfs mounted directory

I am having one nfs volume, which is mounted on one of the directory of root partition. My problem is when I checked df -ha it adds up mounted directory file content as well. Following are my ...
1
vote
2answers
49 views

Get daily averages from sar

Is there a way to just display a given days averages using sar. I currently do something like the following: sar -u -s 00:00:00 -e 23:59:59 -f /var/log/sysstat/sa10 And just take the last (average) ...
2
votes
0answers
80 views

Mount from auto to manual and changing dir gives errors

I just installed Ubuntu 14.04 and am trying to mount my internal HD to a different location in the /home/username dir (auto-mount mounts it to /mnt/{uuid} ) But I ran into a problem. In Disks, when ...
0
votes
1answer
391 views

How to recover the partition table (Windows, Ubuntu) of an unallocated disc?

The following screenshot shows the current state of my hard disc. The unallocated part of the disc used to contain two operating systems: Windows and Ubuntu, in this order. Windows has been ...
2
votes
2answers
235 views

Unable to remove the files from an usb drive (neither by dd /dev/zero nor by rm -r)

I have a flash usb drive and up till now it has worked well. Recently I recorded iso to it using dd. Now I want to delete it. $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT ....... sdb ...
1
vote
0answers
35 views

Apache2 virtual hosts with mod_wsgi settings question

I'm running a VPS on DigitalOcean (Ubuntu 12.04). I'm using a single instance to run multiple (currently 2) websites. Originally I had one website (say, flaskwebsite.com) which uses flask and ...
0
votes
1answer
62 views

How to run jgrasp on ubuntu?

I have problems with jgrasp. I get the following error message when I run it. ----jGRASP exec: javac -g R.java ----jGRASP wedge: could not execute javac ---- error number 2. ---- ---- ...
5
votes
1answer
72 views

Copy a long single-line text from a terminal with undesired change-line

locate ... | less outputs a long path, which is shown as several lines in the terminal, although it is actually a single line. I copy the path from the terminal by selecting the text with mouse and ...
0
votes
1answer
54 views

where does history timestamp stored before i enable it

I tried to set timestamp for history. My first attempt was do export EXTENDED_HISTORY=ON command, and it seems like doesn't work. Then i do echo 'export HISTTIMEFORMAT="%d.%m.%y %T "' >> ...
0
votes
1answer
81 views

I`ve installed sqlite. Now where should i find it? How to make connection from java? [closed]

I have Linaro 12.07 (Ubuntu 3) I`ve made sudo apt-get install sqlite3 libsqlite3-dev libxml2-dev g++ ncurses-dev and Linaro says: libncurses5-dev is already the newest version. libxml2-dev is ...
1
vote
0answers
87 views

Can only initialize Ad-hoc mode after restarting iwlwifi mod and network manager

I am running Ubuntu 12.04.4 with network interface: *-network description: Wireless interface product: Centrino Advanced-N 6235 vendor: Intel Corporation ...
4
votes
1answer
56 views

heuristically find how different a set of files are

I am having a large number of output files produced by repeated runs of a test suite and would like to see, approximately, how different they are. Ideally they should all be identical (indicating a ...
0
votes
1answer
13 views

Try manufacturer iwlwifi driver

Since I have been issues with my WiFi, I would like to try a driver I found on the manufacturers site. Whether this will improve anything is questionable, but I'm running out of options.. Anyway, ...
1
vote
1answer
46 views

Should I upgrade Ubuntu 12.04 kernel [closed]

I am currently running the 3.5.0.48 kernel on my Ubuntu 12.04.4, and I was wondering whether I should upgrade to 3.8 or 3.11. This makes it seem easy enough. Though I will wait with throwing away my ...
5
votes
1answer
77 views

Require private key for sudo

For added security, I would like to require a private key to use sudo on my Ubuntu Server box. I've added private key authentication for sudo as described at ...
1
vote
1answer
64 views

How would I run Django and LAMP on different subdomains, but on the same Apache server?

I am currently working on a development project where I need to run four different PHP programs (both with MySQL backends) and one Django project. Current Plan: XenForo (forums.domain.com) [PHP ...
-3
votes
1answer
1k views

Kali tools on Ubuntu [closed]

Okay, So I am new to UBUNTU, and have little experience with Kali and Backtrack! so I wanted to install ALL the Kali Linux tools in UBUNTU, not one by one, or just transform the Kali Linux into Ubuntu ...
2
votes
2answers
3k views

Global Keyboard shortcuts in Ubuntu 14.04

I've just upgraded my distribution from 13.10 to 14.04, which seems to have broken global keyboard shortcuts. They are still present in the "Keyboard settings" as before. Although media keys are ...
1
vote
2answers
68 views

Do I compile Ubuntu Source code on Red Hat System?

If we install the Red Hat System then can we compile the other distros of linux on the Red Hat server system? If so, please provide me the tutorials and links.
0
votes
0answers
24 views

How to run gnukhata software in ubuntu 12.04

I have tried to install GNUKhata in ubuntu 12.04, but it's not successfull. Requirements : i) Download gnukhata1.2 software from gnukhata.org, ii)python2.7 (default in 12.04), then ...
2
votes
2answers
75 views

Ubuntu kernel source code package

Can somebody explain me the difference between the following files: drwxr-xr-x 28 root root 4096 Apr 22 12:04 linux-lts-raring-3.8.0 -rw-r--r-- 1 root root 15209788 Mar 14 03:38 ...
1
vote
0answers
33 views

How to find out when an application was installed and when the applications/libraries it depends on are installed? [duplicate]

On Ubuntu 12.04, how can I find out when an application was installed and when the applications/libraries it depends on are installed/upgraded/updated? My Okular doesn't work any more. I guess ...
2
votes
0answers
608 views

Mounting an MTP enabled device on Ubuntu 12.04.3 LTS 32-bit

My aim is to perform file operations on my Samsung Galaxy Note 10.1 (older edition) using Ubuntu 12.04.3 LTS 32-bit. This does not work out of the box as I plugged my device and saw myself. In order ...
5
votes
1answer
1k views

Disable atd (and other unnecessary startup processes) in Ubuntu?

I just spun up a new 12.04 server and have been having a bit of trouble getting the atd daemon to stop auto-launching. There's been a bit of changing around on the management of startup processes, ...
0
votes
0answers
33 views

caja-x-desktop opens up windows 13.04 fix

Hi, I installed Ubuntu UE 3.8, I noticed the following problems: sometimes caja-x-desktop opens up 10 or less windows. I noticed that it occured when I plugged in a pen-drive and tried to delete a ...
0
votes
1answer
22 views

Adding a route with time-limited validity?

I have read different routing protocols, each one adds routes with limited time validity to routing table. Is there a method in Linux/Ubuntu, without installing any routing daemon, to add a time ...
1
vote
1answer
753 views

Sudo su issue on ubuntu 14.04 lts: /root/zsh can't not be found

I have recently re-installed ubuntu 14.04 lts and I installed my favorite shell (zsh) but I am having an issue now. When I type, sudo su it comes back with an error stating /root/zsh can not be ...
1
vote
0answers
55 views

phpcurl not able to install on terminal

I am not able to install packages php and curl. But its gives dependencies error, please check below curl : Depends: libcurl3 (= 7.29.0-1ubuntu3.4) but 7.32.0-1ubuntu1 is to be installed ...
1
vote
1answer
66 views

Where is my tablet's memory card mounted on laptop?

I connected my Asus fonepad7 tablet to my laptop via usb. My laptop automatically detects it & opens. But I'm unable to find where the memory card of my tablet mounted on laptop. Just see below, ...
5
votes
4answers
801 views

Grub error 15 (file not found)

I'm trying to fix a problem with a new installation. I'm running this existing distro (Ubuntu) from /dev/sdb with a new OS, Gentoo, installed on /dev/sda. I'm glad I took the trouble of setting these ...
5
votes
2answers
7k views

java plugin does not work in chromium-browser (all possible attempts exhausted)

I was using google chrome browser on Ubuntu 12.04 machine, recently I needed to switch to chromium-browser. I am using the version that is available on the Ubuntu software centre. The problem is that ...
3
votes
1answer
245 views

How can I make the screen black and white?

This is basically to transform the screen (of a laptop), into a black and white screen. I am using Ubuntu 13.04.
5
votes
1answer
262 views

USB 2.0 device is not working in USB 3.0 ports

I have a Ubuntu 12.04 system. On that system I have one USB 3.0 port. In this port I am trying use my USB 2.0 device, but every time when I plug in that USB 2.0 device into the USB 3.0 port, the ...
2
votes
0answers
37 views

Why VMware DHCP persists getting offline?

I am trying to set up a SSH server in my remote machine which is running Windows 7 on it currently. So first I set up a Oracle VirtualBox but it did not work for me properly. Then I decided to go with ...
1
vote
3answers
141 views

how to pipe the output of cut to the foreach command?

I have the cut command I want that grabs the first word in each line of a file. I then want to put each word from the cut command into a foreach. I then want to do a grep command inside the body of ...
1
vote
0answers
270 views

Ubuntu hangs on boot [closed]

After installation mount manger software, upon restarting ubuntu won't boot up . It hangs on boot splash screen and doesn't move further. I have duel boot running in this computer so, I can boot and ...
2
votes
0answers
961 views

Is there a solution for when a system hangs on “switching to clocksource tsc” anyway?

Ok so this is exactly what I did yesterday, and what I have tried to solve the problem so far. The distribution is Ubuntu Server 12.04. What I have done just before the error appeared I added a new ...
0
votes
3answers
246 views

Error “parted: invalid token: 1” When Using Parted To Format A Partition?

Screenshot: http://imgur.com/DQnhwG2    I'm trying to format an existing ext2 partition as ntfs (or any filesystem) using the mkfs command in Parted, but when I specify the partition to ...