Most Popular
1500 questions
117
votes
4 answers
How do I restore .bashrc to its default?
I've been trying to install Android developer tools on Eclipse, and I followed the information in this video . Like the video said, I added the following two lines of code to the .bashrc file: export PATH=$(PATH):-/android-sdk/tools/ export…
nanananana
- 1,285
117
votes
5 answers
How to add a user without /home?
I want to create a new user to run a service on the system but don't want to have /home and other configuration files for it. Like there is a user for postgres but it doesn't have any /home directory.
Owais Lone
- 7,543
117
votes
10 answers
How can I create launcher icon for PhpStorm?
I have PhpStorm on my PC, to launch it I have to go to phpstorm/bin/ and launch phpstorm.sh, how can I pin this to launcher so that I dont have to go into folders every time?
Chelios
- 1,891
- 3
- 16
- 16
117
votes
13 answers
Adding timestamps to terminal prompts?
I was wondering if it was possible to add timestamps to terminal prompts, and if so, how could I achieve this?
Jan Gorzny
- 1,273
117
votes
7 answers
How can I free space from a massive 39.5GB /var/log/ folder?
I just got a message from the default disk analyses software (Baobab) that I only have 1GB left on the hard drive. After some search, I found that the /var/log/ folder is the cause of this. Some file/sizes in /var/log/ : kern.log = 12.6 GB ufw.log =…
blade19899
- 27,004
116
votes
9 answers
How can I configure Unity's launcher auto-hide behavior?
This has been an issue for me with Unity since its release. I'd like to make the the launcher auto-hide. Especially on Netbooks, where screens are small, the launcher is quite wide, making it difficult to properly display some websites and other…
wilsonliam
- 1,325
116
votes
5 answers
How do I login as root?
I want to login as root, but when I enter sudo -s and enter password, this message is shown: "you are not in sudoers file", and when I enter su and enter password, this is shown: "authentication failure". My os has one account only. about past1…
ava
- 1,163
116
votes
5 answers
Why are some systemd services in the "masked" state?
When I run the command sudo systemctl list-unit-files (I think the sudo is optional), I get output which shows all services and their state. Here is a snippet from my machine: UNIT FILE STATE ... debian-fixup.service static debug-shell.service…
knb
- 5,342
116
votes
6 answers
How to completely remove virtualbox
I had installed VirtualBox but it started giving me problems. So I uninstalled it using:- sudo apt-get remove virtualbox-\* sudo apt-get purge virtualbox-\* But when I reinstalled VirtualBox it again resumed to previous settings and started giving…
Manish Sakpal
- 1,301
116
votes
27 answers
Can not connect to PostgreSQL listening on port 5432
I installed the Bitnami Django stack which included PostgreSQL 8.4. When I run psql -U postgres I get the following error: psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix…
Assaf Lavie
- 2,223
116
votes
11 answers
How to install Anaconda on Ubuntu?
How to install Anaconda for Python on Ubuntu? Is there a way to use apt-get install ? I only have command line access to my server. How do I install Anaconda on Ubuntu 14.04 from the command line?
alvas
- 3,027
116
votes
9 answers
How can I install Ubuntu without CD and USB?
I want to install Ubuntu on my laptop that doesn't have a CD-ROM drive and I have no spare USB disk. I've tried Wubi, but that doesn't seem to work (since it prompts me to have the CD in the drive, which I don't have). How can I install Ubuntu,…
user294273
- 1,171
116
votes
8 answers
Remove First n Lines of a Large Text File
I need to remove the first 42 lines of a 2GB SQL dump. I know I can view the first lines using: head -n 44 dump.sql But is there anyway to edit or remove them?
Kohjah Breese
- 2,931
116
votes
7 answers
How To Enable WebGL In Chrome On Ubuntu?
chrome://gpu/ And http://webglreport.com/ google-chrome --version Google Chrome 27.0.1453.93 http://www.chromeexperiments.com/webgl How To Enable WebGL In Chrome On Ubuntu ?
Qasim
- 22,162
116
votes
9 answers
Increase mouse wheel scroll speed
As the title says, I want to increase the number of rows that are passed when I use the mouse wheel for scrolling. I know that there exists ways to do that for Firefox and Chromium, although I want something for the entire system, mainly because of…
Rodrigo Oliveira
- 6,222