No products in the cart.
Single-line Operating System (OS) command.
Command: operating system command
Output-location: Location to store the output data
There are 3 ways to run multiple shell commands in one line:
1) Use ;
No matter the first command cmd1 run successfully or not, always run the second command cmd2:
$ cd ~/Documents; ls
# no matter cd to ~/Documents successfully, run ls
2) Use &&
Only when the first command cmd1 run successfully, run the second command cmd2:
$ cd ~/Documents && ls
# run ls only after cd to ~/Documents
3) Use ||
Only when the first command cmd1 failed to run, run the second command cmd2:
$ cd ~/Documents || ls
# if failed cd to ~/Documents, `ls` will run
You must be logged in to post a comment.
Replies to my comments
Notify me of followup comments via e-mail. You can also subscribe without commenting.
LAST UPDATED: March 15, 2019Pulzze Systems, Inc., a Delaware corporation with a principal place of business at 1290-B Reamwood Ave, Sunnyvale, California, and its affiliates and subsidiaries (collectively, “INTERACTOR”) makes information, products, and services available on this website (the “Site”), subject to the following terms and conditions of use (“Terms”). Before using this Site, please read these Terms carefully. Throughout the Terms, “we”, “us” and “our” refer to INTERACTOR, and “you” or “your” refer to you personally (i.e., the individual who reads and agrees to be bound by these Terms), and, if you access this Site on behalf of a corporation or other legal entity, you and such corporation or other legal entity on whose behalf you access the Site.1. ACCEPTANCE OF TERMSBy using the Site, you agree to be bound by these Terms. If you do not agree to these Terms, please do not use the Site. INTERACTOR provides the information, products and services on the Site to you, conditioned upon your acceptance, without modification, of the Terms contained herein. Your use of the Site constitutes your agreement with such Terms.We reserve the right to change these Terms, in whole or in part, in our own discretion at any time. You can determine when these Terms were last revised by referring to the “LAST UPDATED” legend at the top of these Terms. Such modifications shall be effective immediately upon the linking of modified Terms to the Site, and, if you possess an account through the Site for which you have provided an e-mail address (“Account”), by communicating the modifications to you either(i) when you log in to the Site or(ii) by sending the modifications to the e-mail address that you have provided to us.You agree to comply with, and be bound by, any such modifications(i) by continuing to use or access the Site after modified Terms are posted to the Site or(ii) if you possess an Account, by not requesting to terminate your Account within seven (7) days after receiving a notice of modifications as described above.In addition, your use of a particular INTERACTOR service may be subject to specific guidelines or rules (“Service-specific Rules”) posted from time to time and incorporated by this reference into the Terms. If you do not accept our Terms or any Service-specific Rules, you should refrain from accessing the Site and its services. If we change any Service-specific Rules, we will post the changed version on the location where those Service-specific Rules normally appear, reference the change on the primary page for that service and include a link to the previous version of the terms or rules.INTERACTOR reserves the right at any time and from time to time to modify or discontinue, temporarily or permanently, the Site or any service (or any part thereof). INTERACTOR shall not be liable to any user or other third party for any such modification, suspension or discontinuance except as expressly provided herein.2. U.S.-BASED WEBSITEThe Site is controlled and operated by INTERACTOR from the United States, and, except as expressly set forth herein, is not intended to subject INTERACTOR to the laws or jurisdiction of any state, country or territory other than that of the United States. INTERACTOR does not represent or warrant that the Site or any part thereof is appropriate or available for use in any particular jurisdiction other than the United States. In choosing to access the Site, you do so on your own initiative and at your own risk, and are responsible for complying with all local laws, rules and regulations. You are also subject to U.S. export controls and are responsible for any violations of such controls, including any U.S. embargoes or other federal rules and regulations restricting exports. INTERACTOR may limit the Site’s availability, in whole or in part, to any person, geographic area or jurisdiction INTERACTOR chooses, at any time and in INTERACTOR’s sole discretion. By using the Site, you hereby certify that you are not (a) a citizen or permanent resident of any country on which the United States has embargoed goods, technology and/or services (e.g., Cuba, Iran, North Korea, Sudan, Syria, or Crimea), and (b) on any of the relevant U.S. Government Lists of prohibited or restricted persons, including but not limited to the Treasury Department’s List of Specially Designated Nationals, and the Commerce Department’s List of Denied Persons or Entity List, and that your use of INTERACTOR products and services is in compliance with the applicable U.S. export control and economic sanctions laws and regulations. For further information on the export controls and sanctions laws see, http://www.bis.doc.gov/index.htm and http://www.treasury.gov/about/organizational-structure/offices/Pages/Office-of-Foreign-Assets-Control.aspx.3. REGISTRATIONYou may be required to register with INTERACTOR in order to access certain areas of the Site. In the course of registration, you must:(a) provide true, accurate, current and complete information on the registration form and(b) maintain and promptly update such registration information as necessary.If, after investigation, we have reasonable grounds to suspect that any user’s information is untrue, inaccurate, not current or incomplete, we may suspend or terminate that user’s account and prohibit any and all current or future use of the Site (or any portion thereof) by that user. You may not use a user name (or e-mail address) that is already being used by someone else; that may be construed as impersonating another person; that belongs to another person; that violates the intellectual property or other rights of any person; that is offensive; or that INTERACTOR rejects for any other reason in its sole discretion. Your user name and password are for your personal use only, and not for use by any other person. You are responsible for maintaining the confidentiality of any password you may use to access the Site, and agree not to lend or transfer your password or user name, or lend or otherwise transfer your use of or access to the Site, to any third party. You are fully responsible for all interactions with the Site that occur in connection with your password or user name. You agree to notify INTERACTOR immediately of any unauthorized use of your password or user name or any other breach of security related to your account or the Site, and to ensure that you “log off”/exit from your account with the Site (if applicable) at the end of each session. INTERACTOR is not liable for any loss or damage arising from a user’s failure to comply with this Section, including any loss or damage arising from any user’s failure to(a) immediately notify INTERACTOR of any unauthorized use of his or her password or account or any other breach of security and(b) ensure that he or she “logs off”/exits from his or her account at the end of each session.4. PROPRIETARY RIGHTS; LICENSE GRANTS4.1. Software. Any software that is made available to download by or through this Site (“Software”) is the copyrighted work of INTERACTOR, its suppliers and/or its licensors. Your rights to access, download, and use any Software made available for download from the Site will be subject to your agreement to the terms and conditions of the software license agreement identified on the site and/or in the Software (each, a “License Agreement”). You may not install any Software that is accompanied by or includes a License Agreement unless you have agreed to the applicable License Agreement. Except to the extent expressly permitted in any applicable License Agreement, or expressly authorized under applicable law overriding any of the following restrictions, you agree that you will not copy or sell, lease, lend, convey, transmit, market, modify, adapt, represent or provide any warranties, translate, prepare derivative works from, decompile, reverse engineer, disassemble or attempt to derive source code from the Software. Any reproduction, redistribution or other use or exploitation of the Software not in accordance with the License Agreement and/or these Terms is expressly prohibited by law, and may result in civil and criminal penalties.4.2. Content. Unless otherwise specifically noted, the information, code, content, data, text, graphics, images, videos, documents and other materials made available through the Site (“Content”) are and shall remain the property of INTERACTOR, its licensors and/or suppliers, and are protected by copyright, trademark, patent, and/or other proprietary rights and laws. Subject to your compliance with these Terms, solely for so long as you are permitted by INTERACTOR to access and use the Site, and provided that you keep intact all copyright and other proprietary notices, you may(a) view any Content on any single computer solely for personal, informational, non-commercial purposes, and
Only fill in if you are not human
Username or email address *
Lost your password?
Email address *