Most Popular
1500 questions
173
votes
1 answer
What is the rationale for the `/usr` directory?
What is the rationale for the "unix system resources", or /usr directory, as described here , which duplicates many of the directory names under the root directory / ? My purpose: I'm installing Oracle JDK for the umpteenth time and decided this…
H2ONaCl
- 10,079
173
votes
18 answers
How can I install pdftk in Ubuntu 18.04 and later?
Is there any chance of getting pdftk working in Ubuntu 18.04? I need this for creating PDF files with a watermark in shell. Or, does anybody know a working alternative to pdftk to generate a PDF with a watermark in shell? I already check/try out all…
WiKrIe
- 1,969
172
votes
2 answers
How to enable mod_rewrite in Apache?
I just installed the LAMP stack on my Ubuntu system. The redirection is not working for me. I don't know how to fix it. Can anyone help me?
vinoth
- 1,821
172
votes
2 answers
Is it possible to clean the APT cache from the command line?
I ask because Ubuntu Tweak's Janitor is frozen due to the sheer number of packages in the cache that accumulated during the upgrade from 12.10 to 13.04.
Josh Pinto
- 8,099
172
votes
1 answer
What are the differences between the different vim packages available in Ubuntu?
The difference between vim-gtk and vim-gnome has been discussed here . Ubuntu usually offers more than these two options for vim, e.g.: vim-nox vim-athena vim-* It is not clear which vim package have which dependecies and which one is preferable to…
Dilawar
- 1,821
172
votes
10 answers
Quickly place a window to another screen using only the keyboard
I know that using Alt + F7 , I can use the keyboard to move the window around. I can also use the "Grid" plugin of Compiz to position quickly the window around my current monitor. The grid plugin doesn't seem work across monitor however. What I need…
Dat Chu
- 1,917
171
votes
8 answers
How to check opened/closed ports on my computer?
How to check the opened/closed ports on my computer? I used netstat -a on command line. Does the port status "LISTENING" indicate that the port is open? Is any port, that is not shown in the output, closed?
Router
- 2,351
171
votes
10 answers
Command to move a file to Trash via Terminal
I would like to know if there is a command I can issue in a terminal so I do not classically remove ( rm ) the file, but instead move it to trash (i.e. Nautilus Move to Trash behavior). In case there is such a command, I would also be interested in…
Rasmus
- 8,675
171
votes
11 answers
How can a script check if it's being run as root?
I'm writing a simple bash script, but I need it to check whether it's being run as root or not. I know there's probably a very simple way to do that, but I have no idea how. Just to be clear: What's a simple way to write a script foo.sh , so that…
Malabarba
- 10,576
171
votes
3 answers
ifconfig missing after Ubuntu 18.04 install
I've just installed Ubuntu 18.04 and selected "minimal install". I then tried to run ifconfig in the terminal and got the following message -bash: ifconfig: command not found How come the net-tools package is not installed by default any more?
JiiB
- 1,813
170
votes
9 answers
How to roll back Ubuntu to a previous version?
I just installed a new version of Ubuntu and I want to roll it back to the previous version. How can I do that? Is that even possible?
Mokus
- 4,592
170
votes
7 answers
How to setup OpenVPN Client
I'm trying to setup OpenVPN using NetworkManager. The GUI seems buggy and unresponsive. Are there any other tools for setting up a VPN client?
Nicholas Marshall
- 1,833
170
votes
2 answers
cannot change screen size from 640x480 after 14.04 installation on VirtualBox OSX
After installing Ubuntu 14.04 guest on VirtualBox running on a Max OSX host, I am stuck with 640x480 screen resolution. Adding guest additions again doesn't help. Previous Ubuntu installations are fine with bigger resolution. The 'Detect Displays'…
user271956
- 1,701
170
votes
6 answers
How to set a short password on Ubuntu?
When I install the Ubuntu, I set a short password(<4). Now I want to change the other short password by "passwd" or change passphrase on "Password and Keys" program, it needs a password >4 char.
Lei Ming
- 1,839
170
votes
10 answers
How do I disable the screensaver/lock?
When I'm watching a film in Mythtv the screen turns to black every 10 - 15 mins and I have to log back into Ubuntu. Very annoying! How do I disable the black screen / screensaver / logout in Unity? There no longer seems to be any options to turn the…
Gareth Butcher
- 1,773