Linux Command reference: Parallel tutorial

Source: Internet
Author: User

Get ready
    • Installation:
(Wget-o-PI.DK/3 | | | Curl pi.dk/3/) | Bash
    • View Manual: Man parallel
    • Generate Abc-file:parallel-k Echo::: A B C > Abc-file
    • Generate Def-file:parallel-k Echo::: D E F > Def-file
    • Generate Abc0-file:python-c ' print ' a\0b\0c\0 ' > Abc0-file
    • Generate Abc_-file:python-c ' print ' a_b_c_ ' > Abc_-file
    • Generate Tsv-file.tsv:python-c ' print ' f1\tf2\na\tb\nc\td\n ' > TSV-FILE.TSV
    • Generate Num30000:python-c ' For I in Range (1,30001): Print i ' > num30000
Common operations
    • Start: Tmux
    • Exit: Exit
    • View session: Tmux list-sessions (abbreviated Tmux LS)
      #tmux lsbasic:1 Windows (created Mon Oct 11:24:41) [171x47]second_session:1 Windows (created Mon Oct 20 11:31:30 [171x47] #tmux lsfailed to connect to server

Note "Failed to connect to server" indicates that there are currently no sessions.

    • Detach:ctrl-b: D
    • Attach:tmux Attach (optional Add session name later, if there is only one session, you do not need to add it).
    • Create session: Tmux new, for example:
$ tmux new-s basic$ tmux new-s second_session-d
    • Kill session: Tmux Kill-session-t Session-name (note that the exit is also exited in Tmux).
Address of this article
    • Http://automationtesting.sinaapp.com/blog/linux_cmd_ulimit
    • Site Address: Python automated test http://automationtesting.sinaapp.com contact Fetion 372818219 fetion Software test automation test and Python group 87531018 Python Development automation Test QQ Group 113938272 and Development test QQ group 6089740 Weibo
    • About comments: Prohibit non-logged user comments, you can use the user name Test password Test login comments, comments please leave contact information, thank you!
    • Related articles recommended:
    • Linux User management commands (Useradd, adduser)
    • What are the Linux restart commands? Linux Restart command Daquan
    • Examples of Linux finger command usage
    • This article from: Hobby Linux Technology Network
    • This article link: http://www.ahlinux.com/start/cmd/6952.html

Linux Command reference: Parallel tutorial

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.