Most Popular

1500 questions
258
votes
20 answers

How do you reset a USB device from the command line?

Is it possible to reset the connection of a USB device, without physically disconnecting/connecting from the PC? Specifically, my device is a digital camera. I'm using gphoto2, but lately I get "device read errors", so I'd like to try to do a…
cmcginty
  • 5,888
258
votes
12 answers

Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Upon trying to upgrade from 10.10 to 11.04 all seemed to go well until the restart. This error message is what comes up: Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) How do we fix that?
Jeffrywith1e
  • 2,835
258
votes
7 answers

Can I move the Unity launcher?

I can’t get used to the new Unity system. I’d like to move the left Unity panel to the bottom of screen (like Windows 7 – more similar is better). But I can't find a way. Is it possible?
Benjamin
  • 10,159
257
votes
7 answers

How can I find what video driver is in use on my system?

I would like to try a different video display driver, but I'm not sure which one I'm currently using. What's the simple way to see what driver my system is using currently?
belacqua
  • 23,120
257
votes
14 answers

How do I copy files that need root access with scp?

I have an Ubuntu server to which I am connecting using SSH. I need to upload files from my machine into /var/www/ on the server, the files in /var/www/ are owned by root. Using PuTTY, after I log in, I have to type sudo su and my password first in…
Dimitris Sapikas
  • 2,705
  • 2
  • 15
  • 9
256
votes
9 answers

How can I measure the execution time of a terminal process?

I'm trying to measure the execution time of a process that I call via the command line (i.e., I want to find out how long it takes to for the process to finish). Is there any command that I can add to the command calling the process that will…
user848635
256
votes
3 answers

How to exclude multiple directories with rsync?

I am trying to backup my home directory using rsync, and I want to exclude some of the directories that contain junk. I want to specifically exclude /home/ben/.ccache and /home/ben/build. Unfortunately the documentation for rsync was information…
Freedom_Ben
  • 9,212
255
votes
3 answers

What is the difference between /etc/init/ and /etc/init.d/?

What is the difference between /etc/init/ and /etc/init.d/? More generally, what meaning does the .d suffix convey to a directory?
255
votes
16 answers

How do I disable X at boot time so that the system boots in text mode?

Is it possible to disable X at boot time? I'm setting up a server so it would be nice if it wouldn't load the graphical interface every time I boot.
255
votes
10 answers

How can I restart pulseaudio without having to logout?

Sometimes the pulseaudio service stops and it doesn't restart itself when I open an audio file with banshee or totem. How I can make pulseaudio start again without having to logout?
gourgi
  • 5,218
254
votes
10 answers

How to burn a Windows .iso to a USB device?

I want to burn a Windows ISO to a USB device in Ubuntu. How do I do this? I know how to burn a Ubuntu ISO into a USB device, but with a Windows ISO it's not the same.
alerbeham
  • 2,565
254
votes
13 answers

How to open a PDF file from terminal?

I used to work on the Mac terminal before and I used: open file2open.pdf and the PDF file would be opened on preview or whatever my default viewer was. When I use it in the terminal in Ubuntu I get this error message: Couldn't get a file…
yayu
  • 3,391
254
votes
9 answers

How do I uninstall MySQL?

I installed MySQL using sudo apt-get. Now I need to remove it from my system. How can I do that?
batman
  • 7,961
253
votes
2 answers

Customizing tray/taskbar date display in Ubuntu with GNOME 3

On previous versions I had the date displayed. Now it just shows the current day but not the day's number or the month. Is there a way to customize the clock or tray/taskbar more in GNOME shell on Ubuntu 17.10 and later?
neuromage
  • 2,744
253
votes
12 answers

Extracting embedded images from a PDF

Before I started using Ubuntu I used Nitro PDF reader to automatically extract images from PDF files. Is there a PDF reader for Linux that does this? I would like to be able to extract images faster/easier than when taking a snapshot.
1kb
  • 2,953
  • 5
  • 19
  • 20