Computer
-
use UUID to fix a device nameComputer/linux 2013. 12. 18. 13:59
One target of the automatic backup script is the external usb disk named as /dev/sdl1. After rearrange the usb cables over all usb device, it was recognized as /dev/sdk1 as follows:Dec 18 13:21:46 kaffee kernel: [588414.483990] sd 13:0:0:0: [sdk] 976773168 512-byte logical blocks: (500 GB/465 GiB) Dec 18 13:21:46 kaffee kernel: [588414.484521] sd 13:0:0:0: [sdk] Write Protect is off Dec 18 13:21..
-
remove a user from a specific groupComputer/linux 2013. 10. 28. 14:20
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 groupHere auser is the fake account to be removed from www-data groupStep 1# vigrchange from auser:x:1001:www-data to auser:x:1001:Then they ..
-
convert ogg to mp3 by avconv on Debian LinuxComputer/linux 2013. 8. 20. 12:41
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 ..
-
optimal options for rdesktop for connection to window serverComputer/linux 2013. 8. 8. 15:44
rdesktop -x 0x80 -k ko -g 1280x1024 -D -z -a 16 -N -K 000.000.0.004 -x 0x80 : clean font -k ko : Korean (Hangul) support -g 1208x1024 : monitor optimal resolution -z: enable rdp compression -D: hide window manager decorations -a 16 :connection colour 16 depth -N: enable numlock syncronization -K: keep window manager key bindings One can add the following alias in .bash_alias :alias w7='rdesktop ..
-
disk full at /boot (Ubuntu)Computer/linux 2013. 6. 10. 10:20
Disk full at /boot of Ubuntu system after several months system update as followIt is really inconvenient to maintain this issue. Is Ubuntu default boot directory size 200MiB? Anyway, the following commands could remove unused linux-image at /boot # uname -r 3.2.0-40-generic # dpkg --list 'linux-image*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Hal..