diff -Naur 1st_directory/  second_directory/

Do not use  * and other symbols after directory/ 

posted by citadel

The old post shows how to add a user to a specific group. From time to time, I need to remove a user from a specific group. So here what I summarize how to do this.

2009/06/29 - [computer/linux] - add a user to a specific group


remove a user from a specific group

Here auser is the fake account to be removed from www-data group

Step 1

# vigr

change  from   auser:x:1001:www-data  to    auser:x:1001:

Then they will ask and notice the following messages:

You have modified /etc/group.

You may need to modify /etc/gshadow for consistency.

Please use the command 'vigr -s' to do so.


Step 2

 # vigr -s


You have modified /etc/gshadow.

You may need to modify /etc/group for consistency.

Please use the command 'vigr' to do so.


Step 3

Check group whether it is or not

# tail /etc/group

.....

utempter:x:119:

auser:x:1001:




posted by citadel

The simple and naive command, which I think, be fitted to almost all situation, is

 avconv -i input.ogg output.mp3

, because of its man page as follows:

     By default avconv tries to pick the "best" stream of each type present in input
       files and add them to each output file. For video, this means the highest
       resolution, for audio the highest channel count. For subtitle it's simply the
       first subtitle stream.


ffmpeg will be discarded soon.

posted by citadel