Most Popular
1500 questions
104
votes
7 answers
Zip an archive without including parent directory
I want to zip many folders in a directory tree like so V- something.txt folder folder g.jpg h.jar When I try to zip it, it ends creating a zip archive with the v folder instead of the contents of it (the sub directories and files) How can I avoid…
Dami
- 1,191
104
votes
8 answers
Nginx failing to reload - how to track down why?
Hi I've had my Nginx server running great on Ubuntu server 12.04 for a while. I've been gradually bolting on various bits, and got as far as optimising load times on my wordpress page. After making a few changes to my hosts file I decided to: sudo…
Huw
- 1,603
- 3
- 17
- 24
104
votes
8 answers
Computer freezing on almost full RAM, possibly disk cache problem
The problem I think is somewhat similar to this thread. It doesn't matter if I have swap enabled or disabled, whenever the real used RAM amount starts going close to maximum and there is almost no space left for disk cache, system becomes totally…
Krišjānis Nesenbergs
- 2,011
104
votes
2 answers
How do I enable Ubuntu (using full disk encryption) to call LUKSsupend before sleeping/suspending to RAM?
This question is related to another one by @Stefan, but it is not a duplicate of it. The questions are slightly different: the author simply wanted to know if this had been implemented, while I'm asking for help specifically on how to do this (in a…
Jonas Malaco
- 1,453
- 1
- 13
- 15
104
votes
2 answers
What does “%U” mean when calling a command?
When editing the Applications menu, I see for some applications their commands have %U such as gedit %U and gnome-mplayer %U , but others don't such as gcalctool . I was wondering what %U means when calling a command, and when it is needed and when…
Tim
- 26,197
104
votes
7 answers
In VirtualBox, how do I set up host-only virtual machines that can access the Internet?
In setting up virtual machines with VirtualBox, I often want the following characteristics VM has a static IP host can access VM without port forwarding VM can access the internet I can move my laptop from network to network (e.g. from home to…
Christian Long
- 3,217
- 4
- 20
- 16
104
votes
7 answers
How to check the information of current installed video drivers?
My CPU usage is high when I do trivial things such as scrolling through a PDF file. So I think my video driver is not properly installed. I want to confirm that by checking the information of my currently installed video driver, such as if there's a…
smwikipedia
- 1,202
104
votes
2 answers
Where are the Unity desktop wallpapers located?
Please see the picture below. Where are the Unity desktop wallpapers located?
Hejar Mukriyani
- 1,173
104
votes
7 answers
Installing Java Automatically (With Silent Option)
I'm trying to install Java through apt-get. I found this PPA of Java Installers , however, when I add the repository, update and then issue the apt-get install -y command, the installer for java takes over and it pops up a configuration option. I'm…
Layke
- 1,379
104
votes
1 answer
How do "apt-get clean" and "apt-get clean all" differ?
What, if anything, is the difference between this command: sudo apt-get clean And this command: sudo apt-get clean all On my Lubuntu 12.04 system, simulating these commands reveals their behavior to be exactly the same: ek@Apok:~$ apt-get -s clean…
Eliah Kagan
- 119,820
104
votes
3 answers
Cannot connect MySQL Workbench to MySQL server
I have installed MySQL workbench from Snap Store and MySQL server 8.0 using apt . The server is running fine and I can access MySQL shell from terminal. But I am having issues connecting the Workbench to the server. I'm getting Cannot Connect to…
parv desai
- 1,259
104
votes
4 answers
Error during converting jpg to pdf
Each time I want to convert jpg file to pdf by this command convert *.jpg pictures.pdf I have this error message: convert: not authorized `pictures.pdf' @ error/constitute.c/WriteImage/1028.
Adon Naaman
- 1,139
104
votes
3 answers
How to remove uninstalled snaps from cache?
When I install a snap with snap install <SNAPNAME> then it is being downloaded and mounted. When I remove it with snap remove <SNAPNAME> then 'everything' is being deleted like the snap, user settings dependecies and so on. But when I re-install the…
Emil Engler
- 1,298
104
votes
11 answers
New alert keeps showing up: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001
I just installed a new Ubuntu Server 18.04. I set my hostname hostnamectl set-hostname ****.openbayou.biz and I set /etc/hosts : 127.0.0.1 localhost [ip address] ****.openbayou.biz hostname # The following lines are desirable for IPv6 capable hosts…
Gregory Schultz
- 1,309
103
votes
4 answers
Accidentally removed /bin. How do I restore it?
I was working on a directory named bin . After I was finished, because of the ownership of bin and some files within it I accidentally ran: sudo rm -r /bin Instead of: sudo rm -r bin It seems that my hands used to add a / in front of everything I…
Ravexina
- 57,426