Greatest Hits

11
votes
2answers
32k views

Apache not able to restart

Trying to restart apache from terminal using following command: sudo service apache2 restart when executing that command getting below error: Job for apache2.service failed. See "systemctl status ...
30
votes
7answers
67k views

Home directory not being created

I am trying to understand system administration on Ubuntu. So, as an example, I create a dummy user using sudo useradd -d /home/linda linda and passwd to create the password. I check that an entry ...
33
votes
4answers
76k views

How to remove lines from the text file containing specific words through terminal?

How to remove all the lines from the text file containing the words "cat" and "rat"?
32
votes
4answers
61k views

How can I find my User ID (UID) from terminal?

The title says it all. What command I need to run from a terminal to find my user ID (UID)?
5
votes
5answers
76k views

How to Setup a root cron Job Properly

I tried to setup a root cron job to run a Bash script as root, to run at minute 7,37, every hour, every day of month, every month. This script is located in /usr/bin and named tunlrupdate.sh is used ...
27
17
votes
5answers
71k views

Setting PIdgin up for Lync2013

I having difficulty setting up pidgin to work with my company's microsoft 365's communicator lync 2013 (not 2010) account. I either receive a message stating authentication failed, or Incompatible ...
21
votes
4answers
47k views

What does /dev/null mean in a shell script?

I've started learning bash scripting by using this guide: http://www.tldp.org/LDP/abs/abs-guide.pdf However I got stuck at the first script: cd /var/log cat /dev/null > messages cat /dev/null ...
19
votes
1answer
117k views

How do I boot into recovery mode?

I recently tried booting into the Grub2's menu entry "Ubuntu GNU/Linux, with Linux 3.2.0-24-generic-pae (Recovery Mode) just to see what was there. It booted successfully, but I had no idea what to ...
39
40
votes
5answers
80k views

Ubuntu as Miracast Sender/receiver

couldn't find anything about Ubuntu act as a Miracast receiver or sender. General info about Miracast at Wikipedia Should this work? Supported HW? (Wifi direct?) only via WiFi no LAN? If Wifi direct ...
4
votes
4answers
56k views

“/usr/bin/ld: cannot find -lcudart”

I am newbie to Ubuntu and using Ubuntu 14.04 64-bit. I want to make a project that uses cuda and opencv I got the following error when running cmake . && make Linking CXX executable ...
9
votes
3answers
59k views

How to install Ubuntu on portable external Hard Drive?

OS: Windows 7. I want install Linux Ubuntu on portable external Hard Drive USB 2.0. I read a variety of methods, but I'm confused by contradictory advices and methods. Actually, installing Ubuntu on ...
11
votes
1answer
86k views

Command to change the wallpaper in XUbuntu

Doing a google search reveals the command xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/image-path -s <image-path> The first time I run this command I got a message saying that ...
19
votes
1answer
96k views

How to add a GPG key to the apt sources keyring?

Ubuntu Doc page says this: It is advisable that you add the Opera GPG key. wget -qO - http://deb.opera.com/archive.key | sudo apt-key add - Where do I add that? I want to take the advice ...
30
16
votes
3answers
46k views

What is a “failed to create a symbolic link: file exists” error?

I'm trying to create a symlink in my home directory to a directories and files on my data partition. I've tried: ~/Documents$ ln -sv ~/Documents/saga ...
6
votes
2answers
25k views

Installation of Skype for Ubuntu 14.04 x64 with Terminal

I'm new to Ubuntu and try to install the latest version of Skype from terminal windows. Can anybody help me please, How to do this?
10
votes
4answers
92k views

SSH error: Permission denied, please try again

I am new to ubuntu. Hence please forgive me if the question is too simple. I have a ubuntu server setup using amazon ec2 instance. I need to connect my desktop (which is also a ubuntu machine) to the ...
19
votes
3answers
80k views

Switching Between GUI and Terminal

I am new to linux. I am planning on setting up a server and although I like the regular Ubuntu desktop I like the Lubuntu one a little more especially for my file server needs. What I want to know ...
15
votes
3answers
47k views

How can I install 3.16 kernel on Ubuntu 14.04

sudo apt-get update && sudo apt-get dist-upgrade do not show the newest kernel. How can I install 3.16 kernel on 14.04?
18
votes
2answers
69k views

Command to open new terminal window from the current terminal?

I installed xdotool by running sudo apt-get install xdotool and throw xdotool key ctrl+alt+t command to open a new terminal window from the current one.But it was not working. What was the command ...
52
votes
3answers
63k views

What is the “t” letter in the output of “ls -ld /tmp”?

When running the command ls -ld /tmp, the output would be: drwxrwxrwt 30 root root 20480 Mar 11 14:17 /tmp So I have two main questions: What is the letter t after the permissions? As far as I ...
16
votes
4answers
56k views

14.04 doesnt have package imagemagick

Usually I had installed Image Magick on my Ubuntu systems with a command like this sudo apt-get install imagemagick or like this: sudo apt-get install php5-imagick Right now I am running the ...
21
votes
11answers
69k views

How to clone to a smaller harddisk?

How to clone a harddisk to a smaller sized one. Clonezilla is great but it doesn't support such functionality. Also dd and PartImage don't support this demand. rsync will not copy the MBR since an ...
11
votes
5answers
119k views

How do I start VNC Server on boot?

How do I create a system-wide autostart file? This would be on a cloud server running the desktop version of Maverick. I logged in as root and created an autostart file using ...
5
votes
2answers
90k views

Change permissions on all folders and files

I have ubuntu 12.04. I want to change permissions on all folders and files at the same time so that anyone can modify or remove them.
23
votes
3answers
16k views

How to boot from a USB drive in VirtualBox?

The question is simple and straight forward: How to boot from an USB drive in VirtualBox? EDIT: I have attached usb to VirtualBox as shown in the screenshot. But it is not possible to boot from ...
14
votes
5answers
90k views

How to install subversion client in ubuntu

I have looked at this question: How do I install svn? We already use sudo apt-get install subversion to install subversion on the server. What should I do in order to install the subversion ...
36
votes
2answers
50k views

What are the rcuos/rcuob processes I'm seeing in top?

I ran top, and I see lots of rcuos/rcuob processes. Here's a sample of top output: top - 21:41:15 up 22 days, 19:20, 1 user, load average: 0.00, 0.01, 0.05 Tasks: 332 total, 1 running, 331 ...
8
votes
1answer
22k views

How to sync OneDrive on Ubuntu 14.04?

I am using Ubuntu 14.04. How can I sync my OneDrive account on Ubuntu 14.04? I know that OneDrive is a Microsoft cloud storage service and that Linux is not supported. But there is a a tool called ...
15
votes
3answers
60k views

Route all traffic through OpenVPN

Yep, this question has been asked a hundred times, and I have searched everywhere, to no avail. The title says it all really. I have an OpenVPN server (On ubuntu), and I can connect to it through ...
18
votes
1answer
58k views

chown recursively changed permissions

I ran the chown command in a directory: chown -R user:user {.,}* The {.,}* is used with mv and cp to include both hidden and listed files. Now this command went through and changed those two files ...
17
6
votes
2answers
29k views

Remote desktop setup on Ubuntu 15.04

I installed Ubuntu 15.04 in Eucalyptus cloud environment . Now I'd like to setup remote desktop connection from Windows Laptop to linux (Ubuntu 15.04). What is a best solution for that ? I tried ...
6
votes
3answers
71k views

How to install Ubuntu on MacBook Pro as Dual Boot?

I want to install Ubuntu 13.10 in my MacBookPro. I am running Mountain Lion in my mac. I want to run both Mountain Lion and Ubuntu 13.10 in My mac. How to install Ubuntu in my macbook without ...
4
votes
2answers
28k views

UEFI or Legacy? Which is advised and why?

While I know some facts about UEFI and Legacy and basic differences between them, like UEFI allowing for faster booting (I've checked this question already, but it doesn't answer mine), I have a bit ...
9
votes
1answer
22k views

Changing Ownership: “Operation not permitted” - even as root!

While trying to help a user solve an issue with a bootable USB drive, there seems to be a file that is set so its ownership cannot be edited. I do realize that it should be able to be done with: ...
20
votes
6answers
31k views

How could I list all super users?

I want a command to list all users who have root privileges i.e. sudo ? Suppose I'm a sudoer user. How could I know all other sudoer users?
3
votes
1answer
60k views

connect: Network is unreachable? - ping

When I attempt to ping google's dns or any outside the network I get connect: Network is unreachable? I can't update either which I put down to this I am new to networking... And Ubuntu. But these ...
26
votes
4answers
17k views

No version of Ubuntu can be installed with any Skylake 6th generation Intel processor

Ubuntu can't be installed on my system because of what the title says. This is because support Intel HD Graphics 530 was only just added in Linux kernel 4.3 and all versions of Ubuntu only have kernel ...
28
votes
3answers
65k views

How to find and list all the symbolic links created for a particular file?

I had created many symbolic links on various paths for a particular file or a directory. I want the whole list of created symbolic links paths (location). Example: I created symbolic links for ...
19
votes
1answer
38k views

L2TP IPsec VPN client on Ubuntu 14.10

I need to connect to a L2TP IPsec VPN using Ubuntu 14.10. I previously used L2TP IPsec VPN Manager 1.0.9 from Werner Jaeger in Ubuntu 14.04, and it worked great, but that no longer appears to be ...
28
1
vote
5answers
40k views

How I can install “Internet Download Manager” on Ubuntu 14.04?

How I can install Internet Download Manager on Ubuntu 14.04 ? anyone help me
29
6
votes
2answers
32k views

What is [ 0.4486641 ACPI PCC probe failed] starting version 219?

That message just stays there forever and I have to reload Ubuntu 15.04 all over again to continue using computer. I've loaded wine, PlayOnLinux, and a few games. Also loaded steam. All works well for ...
19
votes
2answers
31k views

How to install the latest g++(currently 5.1) in Ubuntu(currently 14.04)?

This question always bothers me! Last time for 4.9 I tried the commands mentioned in this answer for g++4.9. The same trick doesn't work now: sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo ...
19
votes
8answers
46k views

How to compare two files

So basically what I want to do is compare two file by line by column 2. How could I accomplish this? File_1.txt: User1 US User2 US User3 US File_2.txt: User1 US User2 US User3 NG Output_File: ...
6
votes
5answers
23k views

What's the good way to clean up the system (and is Bleachbit safe) on Ubuntu 14.04?

I used Ubuntu 14.04 (Trusty Tahr) for about a year (actually upgraded it from Ubuntu 12.04 (Precise Pangolin)), and during the time I installed some packages, and removed some other ...
2
votes
2answers
18k views

Ubuntu/Debian on a Lenovo Ideapad 100s — Linux has issues with this laptop

I picked up an Ideapad 100s and have been trying to install Ubuntu on it. So far I have been unsuccessful to boot the Ubuntu installer. That machine comes with windows 10, uses UEFI and its setup only ...
3
votes
2answers
59k views

Reinstalling Ubuntu via Terminal

I've currently encountered some issues with ubuntu causing me to be stuck in tty mode. I already tried fixing the issue but since I'm not sure of what really happened for this issue to occur I now ...
6
votes
3answers
24k views

Syntax error near unexpected token `('

When I use below code in Ubuntu terminal, it works fine: rm !(*.sh) -rf But if I place the same line code in a shell script (clean.sh) and run the shell script from terminal, it throws an error: ...
5
votes
2answers
23k views

Can't find httpd.conf

I have installed Ubuntu 14.04 on a laptop and installed apache 2 (version 2.4.7) and PHP 5. I cannot find httpd.conf. I need to change it because when I try to open a .php page I see a download box. ...
16
votes
3answers
100k views

How to detect and configure an output with xrandr?

I have a DELL U2410 monitor connected to a Compaq 100B desktop equipped with an integrated AMD/ATI graphics card (AMD E-350). The installed O/S is Ubuntu 10.04 LTS. The computer is connected to the ...
19
4
votes
1answer
7k views

“SSL Protocol Error” in Chromium for several Google web sites after installing Ubuntu Security Updates for libnss3

Scenario: Laptop computer running Ubuntu 12.04.5 LTS (64-bit) ("Precise Pangolin") Issue: In the Chromium web browser - "Version 37.0.2062.120 Ubuntu 12.04 (281580) (64-bit)" - after having installed ...