Computer/linux
-
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..
-
Apach2 returns "qualified domain name" messageComputer/linux 2013. 6. 4. 08:46
If an apache server has no domain name, it returns the following message. It isn't bad messages, but I don't want to see this message. After googling, the solution is .. # /etc/init.d/apache2 restart [....] Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.101.24 for ServerName ... waiting apache2: Could not reliably deter..
-
Rolled back to old revision in SVNComputer/linux 2013. 4. 23. 10:31
jhlee@jhleepc:~/tdr_latex$ svn up U src/sci_base.tex Updated to revision 355. jhlee@jhleepc:~/tdr_latex$ svn merge -r 355:354 src/sci_base.tex --- Reverse-merging r355 into 'src/sci_base.tex': U src/sci_base.tex jhlee@jhleepc:~/tdr_latex$ svn commit -m "Rolled back to r354 of sci_base.tex" Sending src/sci_base.tex