Greatest Hits

6
votes
5answers
81k 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 ...
30
9
votes
3answers
64k 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 ...
13
votes
9answers
141k views

How to boot Ubuntu from EFI/UEFI?

I installed Ubuntu 11.10 on a newly bought Lenovo ThinkCentre Edge 71 (model: 1577-G3G) with EFI boot enabled. I opted for the Use Entire Disk option. Even though the installation process went without ...
7
votes
3answers
101k views

How to turn on Network Discovery and Share between computers with Samba

I have an Ubuntu server. Accessing the server from Windows clients works fine. But the server is not listed among the available PCs on Windows client's Network overview. For windows machines it ...
10
votes
1answer
89k views

How to open a port?

I have ubuntu 12.04 and I'm not able to allow certain port in my firewall. So I basically said I will allow everything but it's still not working. Please help. nmap on this machine from other machine ...
15
votes
2answers
122k views

How to start/stop iptables?

While learning some new things about iptables I can't through this. While I am trying to start, its saying as root@badfox:~# iptables -L -n -v Chain INPUT (policy ACCEPT 0 packets, 0 bytes) pkts ...
22
votes
3answers
102k views

Use xrdp to connect to desktop session

I use Ubuntu on my desktop. When I am away from my desktop, I would like to access the session using my Windows 7 laptop. Currently, I am using xrdp to connect, but it starts up a remote session. Is ...
25
votes
6answers
84k views

Can I set my user account to have no password?

If I attempt to change my password to nothing by opening "User Accounts", the "Change" button remains greyed out: How do I change my password to be empty? I know you can set Ubuntu to automatically ...
3
votes
2answers
79k views

Copying file from folder 1 to folder 2 in terminal

I am trying to move a text file from folder 1 to folder 2 via terminal. I'm doing this for a school project to show what actually happens when you copy paste. I'm doing cp/home/rits/desktop/folder1 ...
17
votes
5answers
72k 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 ...
11
votes
4answers
96k 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 ...
43
votes
5answers
83k 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 ...
21
votes
3answers
85k 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 ...
4
votes
4answers
59k 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 ...
19
votes
1answer
100k 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
21
votes
4answers
49k 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
119k 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
18
votes
2answers
73k 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 ...
12
votes
1answer
89k 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 ...
9
votes
2answers
52k views

How to install PHP `mbstring` extension in Ubuntu?

What is PHP mbstring extension ? What is the perfect way to install this extension on Ubuntu 14 ? Thanks, Regards,
9
votes
1answer
27k 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: ...
53
votes
3answers
66k 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 ...
23
votes
11answers
71k 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
122k 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 System/Preferences/...
16
votes
4answers
59k 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 ...
18
votes
1answer
64k 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 ...
18
36
votes
2answers
53k 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 ...
9
votes
1answer
25k 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 "...
14
votes
5answers
92k 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 ...
5
votes
2answers
92k 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.
16
votes
2answers
49k views

How to install libpng and zlib

I'm completely new to Ubuntu. I got installed it because my school uses a lot of Linux type stuff in my school's Computer Science program so I figured I would use Ubuntu on my own machine and just do ...
44
5
votes
2answers
29k 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. ...
22
votes
6answers
35k 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?
15
votes
3answers
64k 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 ...
6
votes
5answers
29k 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 packages....
4
votes
2answers
31k 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
3answers
47k views

How I can disable CPU frequency scaling and set the system to performance?

My processor is running at 40% of its maximum speed, I want it to use 100% of the speed, all the time. I searched on Google but the tutorials are very old and they all differ. So, how can I ...
1
vote
5answers
44k 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
31
21
votes
1answer
41k 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 ...
31
3
votes
1answer
63k 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 ...
29
votes
3answers
68k 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 ~/...
21
votes
8answers
50k 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
3answers
72k 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 ...
28
votes
4answers
19k 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 ...
6
votes
2answers
30k 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 ...
3
votes
2answers
21k 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 ...
17
votes
4answers
104k 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 ...
23
3
votes
2answers
62k 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
25k 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: ...
7
votes
3answers
21k views

How can the Telnet service on Ubuntu Server 14.04 LTS be enabled?

How can I enable the Telnet service on Ubuntu Server 14.04 LTS? Can somebody include a detailed description about the needed packages and configurations?