Most Popular
1500 questions
329
votes
3 answers
How to unzip .tgz file using the terminal?
I've downloaded mongodb-linux-x86_64-2.6.3.tgz file using windows 7 and kept it on D:\Amra\Software\Developing Soft location. When I right click this .tgz file using Ubuntu and see property it shows Location: /media/towhid/Amra/Software/Developing…
Towhid
- 4,215
329
votes
10 answers
How do I find my internal ip address?
I have Ubuntu server 12.04 installed, so I have no GUI. When I do the command ifconfig, I cannot find my internal IP address. It says: inet addr: 127.0.0.1 . Here is the output of ifconfig -a : eth0 link encap:Ethernet HWaddr 00:06:4f:4a:66:f0…
Cam Jones
- 3,901
329
votes
6 answers
How to use manual partitioning during installation?
I'd like to see the full How-To on how to use manual partitioning during Ubuntu installation. The existing guides (at least those I found here) cover only automatic part and leave untouched the manual part (or extremely short and contain no…
Danatela
- 13,414
329
votes
8 answers
How do I zip up a folder but exclude the .git subfolder
I'm trying to create a zip file from a folder and I'd like to exclude the .git sub-folder from the resulting zip file. I have gone to the parent folder of the one I want to zip ( called bitvolution ) and I'm doing: zip -r bitvolution.zip bitvolution…
Tom
- 5,087
327
votes
12 answers
How can I uninstall software?
Seeing there are various ways to install on Ubuntu. What are the various ways to uninstall items? Which ways always work? How can I be sure something was uninstalled?
myusuf3
- 35,799
326
votes
11 answers
How do I search my command-line history for commands I used before?
Other than viewing the history, is there a way to filter my history? Say I want to search for a command that started with "ssh"?
Blankman
- 8,645
326
votes
3 answers
What is hardware enablement (HWE)?
I see the linux-hwe-generic package as part of the kernels you can install in Ubuntu. What is hardware enablement (HWE)?
nelaaro
- 10,368
325
votes
4 answers
How do I diff the output of two commands?
I had imagined the simplest way to compare the contents of two similar directories would be something like diff `ls old` `ls new` But I see why this doesn't work; diff is being handed a big long list of files on the command line, rather than two…
Ternary
- 4,207
324
votes
10 answers
How can I set up password-less SSH login?
I want to be able to login to a remote via ssh without having to enter the password all the time. How do I set it up? Is a different command required to execute a password-less session?
Oxwivi
- 18,559
324
votes
12 answers
How to install OpenJDK 8 on 14.04 LTS?
Java 8 is now available according to http://openjdk.java.net/projects/jdk8/ , but http://openjdk.java.net/install/ does not yet mention how to install OpenJDK 8 (not Oracle Java) on Ubuntu 14.04 Long Term Support. (For 14.10 and later just run…
Thorbjørn Ravn Andersen
- 4,099
323
votes
15 answers
How can you log out via the terminal?
Is there a terminal command that will log you out of your current desktop session and take you back to the login screen?
TheXed
- 27,788
321
votes
2 answers
'sudo su -' vs 'sudo -i' vs 'sudo /bin/bash' - when does it matter which is used, or does it matter at all?
When I'm doing something that requires root be typed in dozens of times in a row, I prefer to switch my session to a root session. In the various tutorials and instructions I have used on the Internet, I see sudo su , sudo su - , sudo -i and sudo…
Paul
- 4,606
320
votes
18 answers
How to modify an invalid '/etc/sudoers' file?
How do I edit an invalid sudoers file? It throws the below error and it's not allowing me to edit again to fix it. Here is what happens: $ sudo visudo >>> /etc/sudoers: syntax error near line 28 <<< sudo: parse error in /etc/sudoers near line 28…
user25165
320
votes
11 answers
How do I find out the model of my graphics card?
I would like to know the model of my graphics card. I think it may be an ATI, but I want to be sure! I have Ubuntu 11.10 (32 bit) and an Asus A6 VA laptop.
sasyna
- 3,241
319
votes
5 answers
Avoiding user interaction with tzdata when installing certbot in a docker container
I want to install certbot in a docker environment with an Ubuntu 16.04 image: For example: docker run -it ubuntu:16.04 /bin/bash When I'm inside the container, the most straightforward way to install certbot does not work as it requires user…
Philipp Claßen
- 4,884