Most Popular

1500 questions
193
votes
7 answers

How do I make apt-get install less noisy?

If I use apt-get install -qq mono-devel, I expect it to be quiet except for errors, according to the help: -qq No output except for errors Instead I get: Extracting templates from packages: 100% Selecting previously unselected package…
jbtule
  • 2,030
193
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…
Jürgen Paul
  • 2,097
192
votes
12 answers

network manager says "device not managed"

I used to be able to share my network connection by editing the Auto Eth0 to share with other computers in the Ipv4 section and now I upgraded my laptop to 11.10 . Now are there no wired connections in the network manager. When I click my…
192
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…
iCode
  • 2,121
191
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,817
191
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…
191
votes
9 answers

How to get date and time using command line interface?

How can I get current date/time in terminal. I mostly start up my system in text(console) mode and need the command to know the current date/time.
191
votes
16 answers

How do I install the latest version of node.js?

How do I install the latest node.js on Ubuntu? I've been looking around, and I can't find anything. Is there a Ubuntu package for node.js, or do I have to compile it myself?
jrg
  • 60,611
191
votes
8 answers

Repeat a command every x interval of time in terminal?

How can I repeat a command every interval of time , so that it will allow me to run commands for checking or monitoring directories ? There is no need for a script, i need just a simple command to be executed in terminal.
user239745
191
votes
8 answers

How to set default Java version?

I followed all the instructions stated at this question, but am encountering some problems with the last part of it. I actually have version 6.22 of java and would like to update to version 6.30. So after moving the extracted directory java-6-oracle…
Matteo
  • 2,307
190
votes
8 answers

How to create script with auto-complete?

When I use program like svn and I type in Gnome Terminal: svn upd and hit Tab it's autocompleted to: svn update Is it possible to do something like that in my custom bash script?
UAdapter
  • 17,587
190
votes
5 answers

Is there a power saving application similar to Jupiter?

I'm trying to install the Jupiter power settings app but, I read it is no longer compatible with the new kernel. Is there a similar program or a way to manage the power settings on 13.04?
189
votes
13 answers

How can I update Visual Studio Code on Ubuntu?

I downloaded the .tar.gz version of VS Code for Ubuntu (64-bit) and have been able to run it smoothly for some time. Some extensions have been installed too. How can I efficiently update this VS Code installation? One thing I can think of is to just…
ramcrys
  • 1,991
189
votes
12 answers

Graphics issues after/while installing Ubuntu 16.04/16.10 with NVIDIA graphics

I installed or upgraded to Ubuntu 16.04, but I'm having some problems with my graphics card. The display is blank The display flickers Items on the screen do not display correctly Certain programs complain of graphics issues The computer boots to…
TheWanderer
  • 19,395
  • 12
  • 50
  • 65
189
votes
6 answers

What are the differences between "su", "sudo -s", "sudo -i", "sudo su"?

I already read it from manual but I can't see difference.. su - change user ID or become superuser sudo -s [command] The -s (shell) option runs the shell specified by the SHELL environment variable if it is set or the shell as specified in…
Smile.Hunter
  • 8,365