Common commands in Linux

Source: Internet
Author: User

I have recently developed and debugged PHP programs in Linux. Here I will summarize the commonly used commands.

Program background running: nohup program command> xx. log 2> & 1 &. This command can still run after the end of the terminal. If you want to stop the terminal, remove nohup.

Remote file copy: Upload File: scp local file remote host name @ Remote Host ip: path download file: scp remote host @ Remote Host ip: path local path. -R needs to be added when the directory needs to be copied.

File Permission: sudo chmod 777 file name. You can modify the full permissions of a file and then restore the original permissions.

VLC stream: cvlc-vv rtsp: // camera User name: Camera password @ camera IP Address -- sout '# standard {access = http, mux = ts, dst = http address after streaming} 'vlcstream. log 2> & 1 &

Ffmpeg video (containing m3u8 files): ffmpeg-re-I video source address-segment_list playlist _ 'date + % s '. m3u8-segment_time 20 'date + % s' _ 20 _ % 04d. ts

If any reprint is available, please indicate the source. Thank you.

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.