摘要:
code macname@localhost Desktop % cat test.sh my_array[0]=A my_array[1]=B my_array[2]=C my_array[3]=D echo "数组的元素为: ${my_array[*]}" echo "数组的元素为: ${my_ 阅读全文
posted @ 2020-11-25 21:11
anobscureretreat
阅读(2472)
评论(0)
推荐(0)
摘要:
code macname@localhost Desktop % cat a.txt 1dededede 2dedefrfr 3frhvfvfvf 4frfrdede 5frfrfrfrf 6frfrede 7jukitttt 8csxssss 9zaxss 10swwww 11ssssss 12a 阅读全文
posted @ 2020-11-25 21:09
anobscureretreat
阅读(1187)
评论(0)
推荐(0)
摘要:
code macname@localhost Desktop % echo `uname -a` Darwin localhost 19.6.0 Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141 阅读全文
posted @ 2020-11-25 21:07
anobscureretreat
阅读(436)
评论(0)
推荐(0)
摘要:
code macname@localhost Desktop % cat test.sh while read line;do echo $line; done < a.txt macname@localhost Desktop % macname@localhost Desktop % cat a 阅读全文
posted @ 2020-11-25 21:04
anobscureretreat
阅读(946)
评论(0)
推荐(0)
摘要:
code macname@localhost Desktop % echo file{1,2,3,4,5} file1 file2 file3 file4 file5 macname@localhost Desktop % macname@localhost Desktop % 阅读全文
posted @ 2020-11-25 21:02
anobscureretreat
阅读(729)
评论(0)
推荐(0)
摘要:
code macname@localhost Desktop % touch {aa,bb,cc}.txt macname@localhost Desktop % 阅读全文
posted @ 2020-11-25 20:59
anobscureretreat
阅读(165)
评论(0)
推荐(0)
摘要:
code macname@localhost Desktop % cat a.txt 1dededede 2dedefrfr 3frhvfvfvf 4frfrdede 5frfrfrfrf 6frfrede 7jukitttt 8csxssss 9zaxss 10swwww 11ssssss 12a 阅读全文
posted @ 2020-11-25 20:56
anobscureretreat
阅读(1762)
评论(0)
推荐(0)
摘要:
code macname@localhost Desktop % cat test.sh my_array[0]=A my_array[1]=B my_array[2]=C my_array[3]=D echo "数组元素个数为: ${#my_array[*]}" echo "数组元素个数为: ${ 阅读全文
posted @ 2020-11-25 20:54
anobscureretreat
阅读(1627)
评论(0)
推荐(0)
摘要:
code macname@localhost ~ % logname macname macname@localhost ~ % 阅读全文
posted @ 2020-11-25 20:53
anobscureretreat
阅读(418)
评论(0)
推荐(0)
摘要:
code macname@localhost Desktop % zip -qr html.zip 资料 macname@localhost Desktop % 阅读全文
posted @ 2020-11-25 20:52
anobscureretreat
阅读(158)
评论(0)
推荐(0)

浙公网安备 33010602011771号