Master Linux, learn more commands, 1
Synchronize folder files recursively with auto merging under Linux:
rsync -avh --progress SourceDir/* TargetDir/
#rsync -avh --progress SourceDir/* username@remote_host:TargetDir/
Uncompress file under Linux:
mkdir -p v2ray && tar zxpvf data.tar.gz -C v2ray
# also support .zip file
Send file to a server that has ssh support:
scp luci-app-v2ray_2.0.0-1_all/data.tar.gz root@192.168.1.1:/root/
Multiple ways to enable a service (make a program running forever
systemctl enable service_name
service service_name enable
/etc/init.d/service_name enable
if you change
enable
tostart
, it will start that service, similar commands are: stop, restart, disable
Thinking
The linux software as I think, just have two types: script file and binary file. The script file is something like python, shell commands. The binary file is something that was compiled from c, c++, golang.