Skills accumulated in Linux over the past five years (4) -- Software

Source: Internet
Author: User

Five years of experience in Linux skills (4) -- five years of experience in Linux software skills (3) -- System (below) http://www.bkjia.com/ OS /201303/196221.html 1. nautilus tips: Ctrl + L open the parent directory: Ctrl + Up www.2cto.com 2. in ubuntu's default PDF Reader evince, 'J' and 'K' can scroll up and down 3. reduce the image size to 20%: Shell code convert-resize 20% x20 % imgname newimgname 4. mplayer character playback: Shell code mplayer-vo aa xxx. avi is played with a colorless character; mplayer-vo caca xxx. avi uses color ASCII characters for playback; mplayer-vo matrixiew xxx. avi is played on a terminal like the hacker empire! 5. the software fbgrab can be used for screenshots under the command line, with a latency of 10 s: Shell code fbgrab-s 10 screen.png 6. clone the vdi file in virtualbox: Shell code VBoxManage clonevdi source. vdi target. vdi 7. easy-to-use Quick operation software: synapse 8. custom terminal auto-completion, for example, I want to automatically complete parameters for ssh, ping, and myscript commands. The parameter names are written in the/tmp/my_word_list file. make the following settings in bashrc: Shell code function _ my_cmpl () {local my_cmpl_words cur COMPREPLY = () cur = "$ {COMP_WORDS [COMP_CWORD]}" my_cmpl_words = 'cat/tmp/my_word_list 'COMPR EPLY = ($ (compgen-W "$ my_cmpl_words" -- "$ cur")} complete-F _ my_cmpl ssh ping myscript 9. ssh save session: vi/home/user name /. ssh/config (create one if no one exists), add the following content: Shell code Host * ControlMaster auto ControlPath/tmp/% r @ % h: % p save and exit. you only need to log on to the server once and then log on to the same server on the new terminal. 10. ssh goes over the wall. If you have a server in the ingress and you do not need to ssh the password, you can use ssh for port forwarding to go over the wall. With switchy on Chrome or the autoProxy plug-in on Firefox, You can freely access the internet. Use the local port 7001 as the forwarding port: Shell code ssh-qTfnN-D 7001 root @ YOUR_SERVER

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.