资讯

Reading files is no big deal with bash: you just redirect the input to the script or pipe the output of another command into the script, or you could do it inside the script if the file names are ...
File descriptor duplication allows two file descriptors to refer to the same open file. Since read normally reads from stdin and not file descriptor 7 or 8 we need a way to duplicate file descriptor 7 ...
cp deliver.sh0 deliver.sh base64 bundle.zip >>deliver.sh To recover the file, you’d need some additional work in the main body of the script, specifically after the tail command.
Jack Wallen explains the Linux source command by way of an example. Sourcing a file in Linux is a very important concept, but it might not be one you’ll use early on in your Linux career.