Most Popular
1500 questions
151
votes
8 answers
How do I set a shortcut to screenshot a selected area?
In gnome's screen shot program, the quick keys PrtScn captures the entire screen and alt+PrtScn captures the active window. Is there a way to script or set up the third capture option of a selected area?
Update: I don't seem to have this key already…
Rick
- 2,957
151
votes
9 answers
Create a new SSH user on Ubuntu Server
Just created a new virtual Ubuntu server and I'm in the process of hardening it for production use. I currently have a root account. I want to do the following:
Create a new user (let's call them jim for the rest of this). I want them to have a…
Oli
- 299,380
151
votes
6 answers
How can I remove duplicate second Unity Launcher on a Dual Screen setup?
On my dual screen display I have a Unity Launcher on the left hand screen and also on the right hand screen. Both work perfectly fine.
However, I don't want this second launcher present on my right hand screen. How could I remove this? If it…
Eugene van der Merwe
- 1,710
150
votes
1 answer
How to create a symbolic link in a linux directory?
I want to create a symlink that should point to another directory.
Like inside directory /var/www/vhosts/ecash-staging.com/ should be a symlink named as ecash_root that should pointing to --> /var/www/vhosts/ecash_cfe.
How is this possible ?
I…
Waqas Rana
- 1,611
150
votes
11 answers
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 has been made using cat…
tchakravarty
- 1,757
- 3
- 14
- 15
150
votes
6 answers
How to install VirtualBox from command line?
I am a newbie. For some reasons, I need to install Virtualbox. I see that I can easily install it using the Software Center, but I trust most the apt-get install way, because I find it safer, less buggy, and it helps me accommodate more with the…
Cristiana Nicolae
- 4,570
- 10
- 32
- 46
150
votes
3 answers
How to install H.265 / HEVC codec on Ubuntu Linux?
I have seen that the new DivX Player 10 shows off H.265/HEVC playback, the successor of H.264. I wonder how I may get this support in Linux. Is there a need to install a codec specific for this format? How?
Majal
- 8,249
150
votes
9 answers
How can I find out my user name?
How do I know my username? I've installed Ubuntu, but I don't know my username, only my password. I can't access my laptop and it can't be opened.
Jayharte
- 1,519
150
votes
9 answers
How do I check the health of a SSD?
We all know that SSDs have a limited predetermined life span.
So the question for me is how do I check in (Ubuntu) Linux what the current health status of my SSD is? And maybe an estimation how long it will take?
Graphical tool is preferred, but…
keiki
- 2,017
150
votes
5 answers
Chkconfig alternative for Ubuntu Server?
I've become very accustomed to managing service startups on Redhat/RHEL platforms using chkconfig though that doesn't appear to be the Debian/Ubuntu way - How do I update runlevel information for system services on Ubuntu?
Ultimately looking for the…
Marco Ceppi
- 48,827
150
votes
14 answers
Headphone jack not working?
I have a Dell Studio XPS 1647 and headphones do not work (though , internal speakers work like a charm) , I have dual boot Windows 7 and headphones work perfectly fine ...
I also tried -adding in options snd-hda-intel model=eapd probe_mask=1…
lexical lemon
- 2,018
149
votes
5 answers
var/cache/apt/archives occupying huge space
I am in the process of cleaning up my system. And I see a lot of space occupied by this folder /var/cache/apt/archives (1.5GB). Is it absolutely necessary to keep all these archives?
Vivek
- 3,829
149
votes
10 answers
How do you update npm to the latest version?
I'm having issues with npm in a Vagrant box I'm setting up. I noticed that the npm version is somewhat old, so I wanted to check the problem with the latest release.
It is my understanding that you should be able to update npm using npm install -g…
Oliver Salzburg
- 4,463
- 3
- 24
- 33
149
votes
3 answers
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 know /tmp is used to create temporary files related…
user255675
149
votes
4 answers
How do I force SSH to only allow users with a key to log in?
I tried following the instructions here:
http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/
to only allow users with a public key on the server to authenticate, but I can't get SSH to…
user193805
- 1,591
- 2
- 10
- 3