Most Popular

1500 questions
243
votes
13 answers

How to copy paste contents in the vi editor

I tried using Ctrl + V for pasting contents in a vi editor document, but Ctrl + V is not interpreted as a paste.
Rpj
  • 3,129
242
votes
24 answers

Do I need to have antivirus software installed?

I thought that there was no need to scan for viruses either in Ubuntu or any Linux distros until I found virus scanner packages clamtk and klamav in Ubuntu software center yesterday. This leads to the following questions: How do viruses differ…
241
votes
4 answers

How to create an animated GIF from MP4 video via command line?

I want make an animated .gif from an .mp4 video. I would prefer to do it from the command line, so please only list command line tools.
Maythux
  • 87,123
241
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,511
241
votes
5 answers

How to find owner and group of a directory?

How can I find out owner and group of a directory in Ubuntu?
240
votes
9 answers

Screen Resolution Problem with Ubuntu 14.04 and VirtualBox

Environment: Lenovo T530 running Windows 7. Have installed Ubuntu 14.04 on a virtual machine using VM Virtual Box. Have installed all the updates from both Virtual Box and Ubuntu. Problem: While in Ubuntu's desktop and other Ubuntu initiated…
user3341257
  • 2,501
240
votes
7 answers

What is the difference between Vi and Vim?

I would appreciate it if someone can let a newbie know what the differences are between vi and vim. I've heard Vim is a successor to vi but whenever I try to open vi in Ubuntu it opens vim instead.
Ethylene
  • 2,501
240
votes
6 answers

How can I shorten my command line (bash) prompt?

Currently it is: michael@Castle2012-Ubuntu-laptop01:~/Dropnot/webs/rails_v3/linker/spec/controllers$ Outside of renaming my machine and directory structure... How could I make it be something more like: michael:controllers$
240
votes
8 answers

apt-key deprecation warning when updating system: "Key is stored in legacy trusted.gpg keyring"

Recently I've noticed some issues when running apt where the system will warn me of a keyring deprecation: Reading package lists... Done Building dependency tree... Done Reading state information... Done 8 packages can be upgraded. Run 'apt list…
matigo
  • 24,752
  • 7
  • 50
  • 79
239
votes
8 answers

How do I enable or disable Apport?

The system crash dialog is annoying me, how can I turn it off? I'd also like to know how to turn it back on just in case I need it to report a problem.
jokerdino
  • 41,732
239
votes
4 answers

What are the differences between snaps, appimage, flatpak and others?

I have been getting this question lately from students and although I have a lot of information to offer, I have not found a source that I can point people to where they can read an update answer (I have found a lot of misinformation and obsolete…
Luis Alvarado
  • 216,643
239
votes
5 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,671
  • 8
  • 24
  • 30
238
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,341
237
votes
8 answers

How can I make a script that opens terminal windows and executes commands in them?

I have three scripts I need to run when I start up my Ubuntu machine, they start services I use in my development environment. To do that, I manually open three terminals and type in the commands. Is there any way to create a script that will open…
JSBach
  • 2,551
237
votes
17 answers

How to change Gnome-Terminal title?

I have several instances of terminals running in my working environment, what I would like is to set a specific title for each one, in order to have a clear idea what purpose the specific terminal serves i.e. Apache, editing_ini, postgres etc... Of…
topless
  • 7,465