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
2answers
57 views

Shell script to find number of vowels in script

This is the script: clear echo read str len=`expr length $str` count=0 while [ $len -gt 0 ] do ch=`echo $str | cut -c $len` case $ch in [(aeiouAEIOU)] count=`expr $count + ...
-1
votes
1answer
34 views

Cron job * is replaced by file name in current directory [duplicate]

This is my first shell script program, so i think this is more likely a silly question for you all. Overview of problem My need is to write a shell command for installing our Node.js server. ...
1
vote
1answer
224 views

Disable login screen on Ubuntu 15.04 (Vivid Vervet)

In 15.04 Vivid Vervet, how do I disable the login screen so that it drops me into a console right off the bat? Back on 14.04, I did this by uninstalling lightdm, but when I tried that on 15.04, the ...
2
votes
0answers
37 views

Force OpenSSH / pam / pam_ldapd to do pam_ldapd(sshd:auth) with public-key authentication

I have working pam_ldap authentication using libpam_ldapd. I'm using slapo-nssov and want to use loginStatus attribute which is added to users ldap entry after opening pam session and deleted when its ...
0
votes
0answers
20 views

date advancing quickly ubuntu 14

after an upgrade of my server from ubuntu 12.04 LTS to ubuntu 14.04 LTS my system date is advancing quickly (taking 1h every 10 minutes). I tryied to install an ntp server to correct date but no way ...
0
votes
0answers
22 views

Incorrect installation of python-2.7.2 - cannot use zlib

I am installing python 2.7.2 from Python-2.7.2.tar on Linux Ubuntu-14.04. I untar it, then ./configure --prefix=/apps/python/install/2.7.2. I then make and get : Python build finished, but the ...
1
vote
1answer
48 views

Configure Ubuntu to always start with terminal & Xload open?

Does anyone know how to configure Ubuntu 14.04 so that when it starts up I have a terminal window open (at my specified x,y coordinates and specified width and height), and the Xload application also ...
0
votes
0answers
29 views

find the cause of file corruption when copying files to a network share on an Ubuntu machine

I am copying files from my SD card to my Ubuntu server via Windows 7 using a network drive. The problem is that sometimes, 2 files out of 150, are corrupted during transfer. See here 2 example files ...
0
votes
0answers
32 views

Packets drops seen in physical interface while using kvm bridge

In ubuntu kvm hypervisor we are seeing packet drops in the physical interfaces once we create the bridge. Below is the output of ifconfig, br1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx ...
0
votes
0answers
33 views

Error installing Ubuntu on VirtualBox

I'm trying to install many different versions of Ubuntu (12.04/14.04, amd64/x86, server/desktop, etc.) on VirtualBox 14.3.26 on OSX 10.10 and I'm getting the following error: [ 0.000000] Fast TSC ...
2
votes
1answer
27 views

Tool to list every e-mail detail sent from a server

Introduction: I have a specific problem with an Ubuntu server where some security leak allowed spammers to use the server to send e-mail. I fixed most of the problems (caused by some unsecured ...
0
votes
0answers
20 views

Clone Linux from One laptop to another [duplicate]

I have Ubuntu 10.10 in my laptop [i5 3rd generation]. It has some EDA's. Now can I clone it to another laptop [i5 2nd generation]. If yes, Can someone please take some time and explain the procedure. ...
0
votes
0answers
15 views

Missing Close/Max/Min icons in Nautilus in ubuntu Gnome

I've installed Ubuntu 13.04 GNOME and i can't see no Close/Max/Min icons in full size of nautilus.. how can i fix it?
1
vote
1answer
20 views

GRUB is not working

I've installed ubuntu alongside windows7 in laptop. When I restart after installation, it is directly entering Ubuntu OS. It is not showing the option which OS to choose. Windows is not deleted ...
2
votes
1answer
24 views

Why do the two scripts work for waking from suspension?

My Ubuntu 14.04 on Thinkpad T400 sometimes (but not always) can't wake up from suspension. While I am still suspecting my graphic controller's driver, I found two scripts (here and here). I don't ...
1
vote
1answer
64 views

cp: cannot stat error - when filename has Asian characters

I am simply trying to copy files using cp -r /home/user/source/ /home/user/destination/ but it throws me the cp: cannot stat /source/filename.xxx error for some of the files. When I searched for this ...
2
votes
1answer
45 views

How can I alert on completion of a long task over ssh?

My desktop is Ubuntu, which has the handy program notify-send, which pops up an alert on the desktop. It also has the following handy alias built in: $ type alert alert is aliased to `notify-send ...
0
votes
1answer
46 views

Ubuntu Postfix Open LDAP integration - no SASL authentication mechanisms

Ive followed all the steps in https://help.ubuntu.com/community/Postfix/DovecotLDAP but I am getting a localhost postfix/smtpd[12520]: fatal: no SASL authentication mechanisms in my ...
0
votes
1answer
37 views

Linux kernel version suffix + CONFIG_LOCALVERSION

On system start up I currently see Linux 4.0.0-rc6yy and 4.0.0-rc6yy.old from the bootloader menu. I'm not certain where they came from. I suspect "yy" is arbitrary but can someone explain the ".old" ...
2
votes
1answer
54 views

Troubleshooting SSH on Ubuntu Server

I am trying to setup SSH-key authentication on Digital Ocean Cloud server. I first added my rsa_id.pub to my account and autoloaded it to the ubuntu droplet when I created it. There seems to be an ...
0
votes
1answer
78 views

Is my server being used as a proxy or malicious requests?

I have an Ubuntu, Apache, Passenger, and Rails 4 project on AWS EC2. I am a beginner full stack developer and am unfamiliar with the security and server side of my project. This is my first time ...
0
votes
0answers
5 views

I need help booting in to GRUB. 13.04 [duplicate]

I need help booting in to grub in 13.10. I cant get to grub. I didn't exactly install Ubuntu. It was preinstalled for my specific pc (its a smart book from Taiwan) and I copied it to my SD card ...
0
votes
1answer
42 views

Mysql exited with status 1 and restarted every 24 hours? How to debug?

After upgrade, MySQL on Ubuntu 14.04 keeps crashing and is restarted every 24 hours according to the dmesg. I would expect to some reason for the failure in MySQL logs, but all are empty. Any ideas ...
1
vote
2answers
46 views

Installing an unauthorized wifi card in a Lenovo thinkpad edge 14

I took out a my Intel dual band Wireless AC 7260 card model number 7260HMW from another laptop. I wanted to install it in my thinkpad. Upon doing so and rebooting, the computer said unauthorized wifi ...
2
votes
2answers
19 views

Can't find emails retrieved by fetchmail

So I set up fetchmail to retrieve emails with IMAP from a remote mail server, I was able to run it. How can I know that it found any emails or not since I did send test emails to the account being ...
0
votes
0answers
21 views

postfix some users can send mail to the (distribution lists) and other users not

How can I do the following things: Some users can send mail to the mailing list (distribution lists) and other users not. For example: the everyone@mycomp.com will be able to send e-mails only for ...
0
votes
2answers
28 views

Package deb dependencies unmet error

I am trying to install deb package in a new AWS 14.04 ami instance, but it fail with the following error - The following packages have unmet dependencies: youtube-snapshot-taker : Depends: firefox ...
0
votes
1answer
36 views

Is it possible to access opened gnome terminal session in text console?

I am running Ubuntu 14.04. My desktop environment (compiz and unity) sometimes becomes frozen, which makes it difficult to save my work including text editing in emacs running in gnome terminal. ...
0
votes
1answer
69 views

Shell script to compare two tables and perform operations on their columns

I have two tables like the following: Table 1 TABLE_NAME COUNT ------------------------------ ------------ AIN_EDP_SCRIPT 33 AMA_CALLTYPE_LOOKUP ...
0
votes
1answer
48 views

How to move mysql database and mysql server to another machine

I am having Ubuntu 14.04 desktop in which i develop software. Due to some reasons my hard disk has developed many bad sectors. I want to move my mysql server software and all the databases to a new ...
1
vote
1answer
60 views

How to know which platform I am using in lubuntu, ubuntu or kubuntu

I need switch script in between lubuntu, ubuntu, and kubuntu. How can I know which platform the script is running in? Because uname/lsb_release never show different in those 3 releases Lubuntu$ ...
1
vote
2answers
35 views

xterm formatOtherKeys not working on Ubuntu?

I'm trying to run xterm and have it pick up key bindings such as Ctrl-; Ctrl-. Ctrl-, etc.. (I like to use these bindings in emacs -nw) After some reading online I managed to get a working setup ...
1
vote
0answers
52 views

Reading the program header contents of an ELF file

How is it possible to extract loadable program headers individually from ELF files? By examining a binary using readelf one can get output similar to: $ readelf -l helloworld Elf file type is EXEC ...
0
votes
0answers
53 views

Suspend option disappear from shutdown dialog on Mint 17.1 Cinnamon

Previously I have a "Suspend" option when I open shutdown dialog, not sure why (probably because I did a apt-get upgrade I found the "suspend" option has gone: Another thing is even I set my power ...
2
votes
1answer
35 views

How to make sshd listen to two ports, but restrict one of them to a single source address?

I need sshd to listen both on port 22225 (allowing connections on that port from any IP) and port 22 (allowing just a single static IP on that port). In other words, listen on two ports at the same ...
0
votes
0answers
18 views

Java JRE 6 installation

I installed Java 6 (jre-6u45-linux-x64.bin) on a Ubuntu 12.04 machine following the procedure from this link: http://ubuntuforums.org/showthread.php?t=1904467. When I later installed Java 7 and ...
0
votes
1answer
342 views

Live USB repeatedly gives error 'Failed to load ldlinux.c32'

I'm trying to put Ubuntu on my desktop. Right now, it and my laptop are running Manjaro 3.18. I've been using Unetbootin to create the live USB on my laptop. I've tried several different versions of ...
1
vote
1answer
48 views

How to set the monitor brightness gracefully at boot time?

I've been using a loop that contains xrandr --output VGA1 --brightness 0.3 in a bash script which will automatically execute right after logging in by gnome-session-properties (a.k.a. Startup ...
1
vote
0answers
37 views

Can I print via CUPS on ARM device without drivers by installing CUPS onto an x86 server with drivers?

I just spent a few frustrating hours troubleshooting on a Raspberry Pi 2 only to find out that it is impossible to print to my Canon printer natively using CUPS. Thankfully, my printer supports Google ...
1
vote
1answer
62 views

Why are files and directories colored in different ways? [duplicate]

On Ubuntu 14.04, in bash under gnome terminal, Why are files especially directories colored in different ways? The green colors hide the text to me (How about to you?). Is it done by terminal or ...
7
votes
2answers
167 views

Ubuntu - No space left on device (NTFS)

I have a server which stores a lot of data, I keep many nested directories with millions of files in them. While trying to move one big directory (~700GB) from one disk to another I get an error: mv ...
0
votes
0answers
85 views

Sound is not working in Ubuntu 14.04: suddenly stopped

The sound suddenly stopped working in my Ubuntu, so I googled and followed this link but it doesn’t work to me. Output of aplay -l: **** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA ...
1
vote
1answer
71 views

How to setup the quota for NIS user

I have 3 VM's and configured NIS server one VM, user account created for client access also done. NIS client configured remaining two VM's. I am able to login through what I created username in NIS ...
0
votes
1answer
30 views

Load Linux Kernel Modules

I need to load the kernel modules nandsim.ko, ubifs.ko and ubi.ko with modprobe. Unfortunately my SuSE 9.3 machine (no internet connetion!) doesn't have them, but I found them on my Ubuntu machine. Is ...
0
votes
1answer
29 views

svn checkout without tags

How to checkout the repository without tags in svn. Created tags in repository. Now whenever client users do svn checkout that tags also downloaded. So I need to svn checkout the repository without ...
1
vote
0answers
17 views

oem-bt-ar-9462-dkms error in Ubuntu

I am new to ubuntu and Linux and i was recently prompted to install new updates and this error keeps popping up. Is there any way that i could resolve this? I am not sure what to do here and any help ...
1
vote
1answer
26 views

Scheduling a task whenever the system starts

I've installed Ubuntu alongside Windows 8.1. I want to create a task that mounts some of my Hard disk drives whenever the system starts. What Linux command can I use? Thanks in advance.
1
vote
0answers
30 views

Error during ubuntu upgrade (errors were encountered while processing)

I am trying to upgrade my ubuntu from 11.10 to 14.10 but I got this error message when I ran sudo apt-get -f install errors were encountered while processing: ...
1
vote
1answer
22 views

I need dhclient to flush IP address/routes when link goes down

I am running one Ubuntu Server 14.04 with network configuration using /etc/network/interfaces and so ifup/ifdown scripts. I realised that if I configure one interface in DHCP mode, then I unplug the ...
0
votes
0answers
58 views

Terminal Emulator with CTRL+Scroll Zoom

Are there any Linux Terminal Emulators that offer "control & scroll zoom" (allowing you to adjust the visible size of fonts by holding down ctrl and scrolling your mouse-wheel)? Recently on ...