day 2

day 2_第1张图片

#!/bin/bash
mkdir ~/dir
mkdir ~/dir/dir1 ~/dir/dir2
cp ./* ~/dir/dir1/
cp ./*.sh ~/dir/dir2/
tar -cJf dir2.tar.xz ~/dir/dir2
mv dir2.tar.xz ~/dir/dir1
tar -xvf ~/dir/dir1/dir2.tar.xz
tree ~/dir/                            

day 2_第2张图片

xmind

day 2_第3张图片

你可能感兴趣的:(linux)