Linux常见操作-将内容排序后输出
排序需要使用到 sort sort -r, --reverse: 降序,不指定默认是升序 -h, ---human-numeric-sort: 以人类可读方式展示 (如: 2K 1G) -M, --month-sort:
排序需要使用到 sort sort -r, --reverse: 降序,不指定默认是升序 -h, ---human-numeric-sort: 以人类可读方式展示 (如: 2K 1G) -M, --month-sort:
安装语言包sudo apt-updatesudo apt-get install language-pack-zh-hans设置区域为中国sudo update-locale LANG=zh_CN.UTF-8
ls -l1v ./
sed -i 's/old-text/new-text/g' input.txt
FROM reg-ai.chehejia.com/system/ubuntu:22.04RUN printf "\deb http://mirrors.aliyun.com/ubuntu/ jammy main restricted\n\deb http://mirrors.aliyun.
curl -X GET -G $API_URL \ -d base_path=$BASE_PATH \ -d clip_type=$CLIP_TYPE \ -d clip_vid=$CLIP_VID