Skip to content

Instantly share code, notes, and snippets.

@brightzheng100
Last active November 16, 2018 03:36
Show Gist options
  • Select an option

  • Save brightzheng100/07355c8660a7997f3c88ff90412eb339 to your computer and use it in GitHub Desktop.

Select an option

Save brightzheng100/07355c8660a7997f3c88ff90412eb339 to your computer and use it in GitHub Desktop.
some bash tips

To cat all files within specified files and folders

$ tail -n +1 file1 folder1/* folder2/*
==> file <==
<content of file>

==> folder1/file1 <==
<content of folder/file1>

==> folder2/file2 <==
<content of folder1/file1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment