Most Popular
1500 questions
211
votes
7 answers
How to convert .mkv file into .mp4 file losslessly?
I need to convert a video file from Matroska container into mp4 container. Matroska file contains one h.264 video track and one AC3 sound track. It should be possible to do this losslessly, but how to do it with native Ubuntu tools? Transcoding is…
Seppo Erviälä
- 5,835
211
votes
2 answers
29 packages can be updated - How?
I see the following message when I login: 29 packages can be updated. 6 updates are security updates. How can I perform the updates? I tried apt-get upgrade and some stuff was installed but the message still remains.
Gerve
- 2,227
211
votes
12 answers
How to exclude/ignore hidden files and directories in a wildcard-embedded "find" search?
Starting from (notice the wildcards before and after "some text") find . -type f -name '*some text*' how can one exclude/ignore all hidden files and directories? I've already been googling for far too long , came across some -prune and !…
nutty about natty
- 6,988
210
votes
8 answers
Traditional search-as-you-type on newer Nautilus versions
Until now I was using a "traditional" version of Nautilus: that that comes with Ubuntu 10.10. Now I'm using 3.6.3, included with Ubuntu 13.04 (most likely any recent version is equivalent for the scope of my question, anyway). One major difference…
deprecated
- 2,139
210
votes
2 answers
How to get disk usage from command line?
How can I get the current disk usage (in %) of my hard drive from the command line?
Olivier Lalonde
- 60,701
210
votes
4 answers
Uninstall a program installed with Wine
I am using Ubuntu 11.10. By using wine software i installed some software like nimbuzz and ibibo messenger. Both the programs are not working and showing the bug as We're sorry, but an unknown error has caused ibibo Messenger to close. So I wanna…
Teja
- 2,325
209
votes
6 answers
How do I find the version of bash I am running?
(learning bash) I was trying to check the bash version so I typed /bin/bash -v . That outputted a whole lot of text to the screen (contents of .bashrc, and other files sourced from it). Could I have screwed up something (like overwriting some config…
Zabba
- 3,695
209
votes
8 answers
How do I find the path to pg_hba.conf from the shell?
I would like to obtain the path to pg_hba.conf from the shell. The path varies between versions of PostgreSQL. For instance, for 8.4 and 9.1: /etc/postgresql/8.4/main/pg_hba.conf /etc/postgresql/9.1/main/pg_hba.conf I have tried the pg_config…
Roger Dahl
- 2,282
209
votes
7 answers
How to solve "permission denied" when using sudo with redirection in Bash?
When using sudo to allow edits to files, I regularly get 'permission denied'. For example, my mouse is jittery and sluggish, so I want to disable polling: sudo echo "options drm_kms_helper poll=N">/etc/modprobe.d/local.conf I'm prompted for a…
Jack
- 4,059
209
votes
6 answers
Moving folder and subfolder to another path
I need to move my folder with many subfolders to another path. I'm using putty and this is what I tried: MV -r fromflderpath tofolderpath What am I doing wrong?
ram
- 2,201
208
votes
10 answers
Find number of files in folder and sub folders?
I want to find the total count of the number of files under a folder and all its sub folders.
topless
- 7,465
208
votes
19 answers
How to install Eclipse?
I want to install the latest version of Eclipse but the Ubuntu Software Centre contains an older version. Is there a PPA or some other way to install latest Eclipse? Please describe the steps for full installation.
Gaurav Butola
- 5,941
208
votes
10 answers
Command to list services that start on startup?
Is there a command to list services that run on startup? I imagine it would involve parsing /etc/init.d/ , and the various /etc/rc.* directories.
Eric H
- 2,183
207
votes
8 answers
How to kill all tmux sessions (or at least multiple sessions) from the CLI?
How to kill all tmux sessions (or at least multiple sessions) from the (Ubuntu) CLI? When I do ps aux | grep tmux I see 3 processes: UU 2970 0.0 0.0 19556 1228 pts/0 S+ 02:48 0:00 tmux UU 3445 0.0 0.0 12944 988 pts/5 S+ 03:31 0:00 grep --color=auto…
user423047
207
votes
7 answers
Switch between multiple java versions
While installing Android Studio on Ubuntu 14.04 I get the message that my Java version ( javac 1.7.0_79 ) is causing problems. I found a solution of how to install a newer Oracle version of Java: sudo apt-add-repository ppa:webupd8team/java sudo…
mcExchange
- 3,408