Most Popular

1500 questions
230
votes
5 answers

How do I detach a screen session from a terminal?

I know how to start a screen, and how to list different screens: screen -ls or to attach: There are screens on: 2477.pts-0.server1 (Detached) 2522.pts-0.server1 (Detached) 2 Sockets in /var/run/screen/S-root. $ screen -r…
maniat1k
  • 8,130
229
votes
7 answers

Bash history search, partial + up-arrow

I have searched, but not found anything on this. I am looking for a functionality in bash, using a terminal. Way back when, I had a user on a debian system, and a friend set me up with a convenient history search feature (I believe I used tcsh…
TLP
  • 3,241
229
votes
2 answers

What is the best way to uninstall nginx

I'm trying to add new module to nginx with naxsi, but I should reinstall nginx. What is the better way of removing nginx?
Shuo
  • 2,403
  • 2
  • 14
  • 4
229
votes
13 answers

Is there a GUI client for Git?

I am using git for version control of various projects. Is there GUI software for navigating through commits and branches of a project and for retrieving versions in git projects?
Matoeil
  • 2,487
228
votes
6 answers

How to find the number of CPU cores including virtual?

How do I find out the number of cores my CPU has, including virtual cores (hyper threading cores) using the command line?
TellMeWhy
  • 17,484
228
votes
6 answers

How to find all files with the same extension within a directory

I want to search for all .conf files in /etc/. I tried grep -r *.conf /etc, but the result isn't right. What am I doing wrong?
Adrian George
  • 3,531
  • 7
  • 23
  • 30
228
votes
20 answers

How do I create a desktop wallpaper slideshow?

How do I create a desktop wallpaper slideshow with my own set of images? With the images coming from a pictures folder, or pre-selected With the images displayed in order, or randomly With the images changing every few minutes, or after random…
David Siegel
  • 8,932
226
votes
4 answers

Missing System Settings after removing some packages

I installed or uninstalled some packages. I do not even remember what I was doing. As a result, now I can't see most of the system settings in settings window. Any idea how to solve this problem. When I hover mouse over the window title, it shows…
Indigo
  • 2,363
  • 2
  • 12
  • 8
226
votes
6 answers

Detect and mount devices

I upgraded Ubuntu today and everything works smooth except that Ubuntu doesn't detect any other storage devices. My / and /home partitions work fine, but my other partitions are just not detected. I wouldn't mind, except the same problem goes with…
Calixte
  • 3,443
225
votes
4 answers

Why is Ubuntu moving to Snap packages?

Why Ubuntu dumping .deb packages and moving to .snap packages? At least for now they are keeping .deb package for normal distributions. .deb is already the most popular packaging format out there. This gives an idea about what the Snap package…
Vishnudev K
  • 2,726
224
votes
2 answers

How to simply convert video files (i.e.: MKV to MP4)?

I simply want to convert files, any format to any format (at the moment, I need to convert MKV to MP4-h264), without losing quality. I don't want to resize (scale) the video, I don't want to change its aspect ratio and I don't want it to lose…
user229552
  • 2,341
  • 2
  • 13
  • 3
224
votes
12 answers

How to make a disk image and restore from it later?

I'm a new Linux user. I've reinstalled my Wubi from scratch at least ten times the last few weeks because while getting the system up and running (drivers, resolution, etc.) I've broken something (X, grub, unknowns) and I can't get it back to work.…
224
votes
20 answers

How to fix "sudo: unable to open ... Read-only file system"?

The title might not be as descriptive as I would like it to be but couldn't come up with a better one. My server's file system went into Read-only. And I don't understand why it does so and how to solve it. I can SSH into the server and when trying…
John
  • 2,413
  • 2
  • 16
  • 11
223
votes
6 answers

Installed Teamviewer using a 64-bit system, but I get a dependency error

I was trying to install Teamviewer, but I was getting a dependency error. I tried to install the required packages, but with no luck. I'm getting this error: Unpacking teamviewer (from teamviewer_linux_x64.deb) ... dpkg: dependency problems prevent…
Mini John
  • 2,335
  • 2
  • 14
  • 12
223
votes
2 answers

What is difference between the options "autoclean", "autoremove" and "clean"?

apt-get has a few options which looks the same to me: autoclean, autoremove and clean. What do each of them do?
Antony
  • 3,095