I have recently developed and debugged PHP programs in Linux. here I will summarize the commonly used commands. Program background running: nohup program Command & gt; xxl
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.