Most Popular
1500 questions
117
votes
4 answers
How do I run wireshark, with root-privileges?
A standard installation of Wireshark doesn't give the program permission to access the network interface.
I suppose I have to run the program with sudo, but do not know how to add it to the icon - if that's the way to do it.

Sven AA
- 1,173
117
votes
16 answers
What screenshot tools are available?
I have noticed that many people use images in their Ask Ubuntu answers. What software are people using?

RunningUtes
- 3,932
117
votes
3 answers
How to add a Python module to syspath?
I have a file structure like this:
Folder
Common
foo1.py
TestFolder
foo2.py
I want to import in foo2.py and foo1.py. I tried but it doesn't work on Ubuntu:
sys.path.append(os.path.abspath('../../'))
from Common import foo1.py

user284474
- 1,171
117
votes
1 answer
Copy folders (not one file) using SSH ubuntu?
I am trying to copy a folder to remote Ubuntu server using command line ssh connection, i understand it's doable to transfer a file using scp but i have many files in a folder iam trying to copy to that remote server, how is that done? anyone?…

aero
- 1,305
- 3
- 10
- 6
117
votes
6 answers
Conveniently schedule a command to run later?
What's a simple way to run a command, say, 8 hours from now? I can think of this way:
nohup bash -c "sleep 28800 ; ./mycommand.sh" &
Is there a more "proper" way?

Steve Bennett
- 6,967
117
votes
4 answers
Remove sudo privileges from a user (without deleting the user)
If you give a user sudo privileges how can I remove the sudo privileges and make the user become just a regular user?
I used:
sudo adduser username sudo
Now I've changed my mind.

Joe C
- 1,335
- 2
- 10
- 10
117
votes
7 answers
Generate md5 checksum for all files in a directory
I would like to create a md5 checksum list for all files in a directory.
I want to cat filename | md5sum > ouptput.txt. I want to do this in 1 step for all files in my directory.
Any assistance would be great.

Walter Wayne Leutwyler
- 1,273
- 2
- 9
- 4
117
votes
7 answers
converting epub files to PDF format
I would like to know the ways in which epub files can be converted to pdf in ubuntu. Any method, GUI or command line conversion is fine as far as my epub gets converted to pdf. Thanks.

palerdot
- 1,765
117
votes
7 answers
How can I troubleshoot "VPN Connection Failed"?
Is there anyway to get an error log for a failed VPN connection attempt? All I get is this notification and I have no idea where to go from there.

Olivier Lalonde
- 58,691
117
votes
11 answers
"Failure to download extra data files" after installing ttf-mscorefonts-installer
After fresh install 12.04 I && updating apt and system restart, I always get this annoying message after reboot :
Failure to download extra data files
The following packages requested additional data downloads after
package installation, but the…

armanke13
- 1,273
117
votes
4 answers
Can't close Authentication Required window after login
I am using Ubuntu 20.04(Gnome3.36) and need help with this:
The Authentication Required window is stuck right after logging in and I can't close it. I tried using xkill to close the window but it didn't close, I think xkill doesn't recognize the…

MandiYang
- 2,019
117
votes
3 answers
Logging out other users from the command line
Sometimes when there are too many users logged in it can cause my computer to become very slow and laggy due to low amount of available RAM. I would like to be able to quickly log out the other users from the command line instead of manually…

Isaiah
- 59,344
117
votes
4 answers
Ubuntu Server 18.04 LVM out of space with improper default partitioning
I installed Ubuntu Server 18.04 with the LVM option and left the default partition setup. Now my main drive only has 4GB in a 1TB hard drive. How can I fix this without starting from scratch?
Results of df -h :
Filesystem …

CyborgDroid
- 1,283
- 2
- 8
- 6
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
6 answers
How to move all files in current folder to subfolder?
I am at the path:
/myuser/downloads/
And I create a sub folder:
/myuser/downloads/new
Now I want to move all files and folders/sub-folders in the downloads folder to the sub-folder.
how can I do this?
I tried:
mv -R *.* new/
But move doesn't take…

Blankman
- 8,275