Most Popular

1500 questions
204
votes
6 answers

How to recover/reset forgotten Gnome Keyring Password?

I am on Ubuntu and I have forgotten the password for my Gnome Keyring (yes, stupid me, I know). Any way I can get it back? I have already looked at this link , but it says it's not possible if my home directory is encrypted and unfortunately my home…
204
votes
3 answers

How do I get details about a package which isn't installed?

How can I get some details about a package without installing it, (eg. the description and version number) like in Synaptic or Aptitude. The command dpkg -s PACKAGE does not work, with this error. It works for installed packages, though dpkg-query:…
kiri
  • 29,066
204
votes
6 answers

How do I get and modify the source code of packages installed through apt-get?

I am assuming that all application installed through apt-get are open source; but for those that are available in that manner, where can I get the source code for these applications as well as update them? I have a couple applications I use…
myusuf3
  • 35,799
204
votes
3 answers

How do I install dig?

How do I install dig (the DNS lookup tool)? I can't figure out what the package name is.
Eric Johnson
  • 6,595
203
votes
1 answer

What does -y mean in apt-get -y install command?

I always see commands like this apt-get -y install What is the -y tag for and what is the difference between apt-get install with and without the -y tag?
203
votes
8 answers

"kill " not really killing the process, why?

I am trying to improve my command line skills and I have encountered a problem where I cannot kill a process. I type kill 2200 where 2200 is my PID and the process is not killed. After few minutes wait is still in the top and ps aux . I have even…
Patryk
  • 9,426
203
votes
2 answers

How to enable TRIM?

I know that the Linux kernel supports TRIM as of version 2.6.33, so there should be TRIM support in ubuntu. Is TRIM enabled by default or do I need to change some settings or install additional software for it to work? If so, how?
Uli
  • 5,196
203
votes
16 answers

Is there a Google Drive client available?

I'd like to install a Google Drive client for Xubuntu (12.04). I'm getting non-English Google results, and I didn't find grive in the Xubuntu repositories. Does anyone know of a client that works well for Ubuntu or it's supported derivates (or…
Eyal
  • 5,075
202
votes
1 answer

What is the loopback device and how do I use it?

What are loopback and localhost ? Why do they exist, what are they used for, and how would I use them?
Eliah Kagan
  • 119,820
202
votes
7 answers

What's the difference between .tar.gz and .gz, or .tar.7z and .7z?

Recently, I've been backing up a lot of my data, and I noticed that I can save files as .gz or .tar.gz , or .7z and .tar.7z , etcetera. What are the differences between the normal one and the .tar.* variant? Which one of them is adviced when making…
201
votes
3 answers

How do I run a single command at startup using systemd?

I'd like to startup an Apache Spark cluster after boot using the following command: sudo ./path/to/spark/sbin/start-all.sh Then run this command when the system prepares to reboot/shutdown: sudo ./path/to/spark/sbin/stop-all.sh How can I get…
macourtney7
  • 2,917
201
votes
10 answers

Changing default crontab editor

I am trying to change the default editor from nano to vim . I have run the following commands: sudo update-alternatives --config editor and update-alternatives --config editor Both now output: Selection Path Priority Status…
austinbv
  • 1,993
201
votes
9 answers

keyboard shortcut to switch between windows within an application

Is there a keyboard shortcut, or can I somehow bind a shortcut, to switch between windows within an application (similar to opt + ~ on macOS)? Ideally, I'd like Alt + Tab to be unaffected or to be rebound to switch between applications (not between…
Andrew M
  • 2,398
201
votes
10 answers

Permanently removing apache2

It seems a simple apt-get remove apache2 does not completely remove apache2 as I can still see it on one of the processes when running top . How does one remove apache2 completely on his ubuntu server? It's not removed indeed: ~# which apache2…
Jürgen Paul
  • 2,177
201
votes
4 answers

How do I increase the open files limit for a non-root user?

This is happening on Ubuntu Release 12.04 (precise) 64-bit Kernel Linux 3.2.0-25-virtual I'm trying to increase the number of open files allowed for a user. This is for my eclipse java application where the current limit of 1024 is not enough.…
iCode
  • 2,221
  • 2
  • 15
  • 15