最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501
当前位置: 首页 - 科技 - 知识百科 - 正文

一些自己实践得出的技巧1

来源:懂视网 责编:小采 时间:2020-11-09 08:12:53
文档

一些自己实践得出的技巧1

一些自己实践得出的技巧1:locate xboing test tar -cvf xboing.tar -T test gzip xboing.tar cp xboing.tar.gz /mnt/usb the above command can copy a software which have been installed on someone system to your own system^-^ #!/bin/sh for fname in *;do tmp=`echo $fname|t
推荐度:
导读一些自己实践得出的技巧1:locate xboing test tar -cvf xboing.tar -T test gzip xboing.tar cp xboing.tar.gz /mnt/usb the above command can copy a software which have been installed on someone system to your own system^-^ #!/bin/sh for fname in *;do tmp=`echo $fname|t

locate xboing test tar -cvf xboing.tar -T test gzip xboing.tar cp xboing.tar.gz /mnt/usb the above command can copy a software which have been installed on someone system to your own system^-^ #!/bin/sh for fname in *;do tmp=`echo $fname|t

locate xboing > test
tar -cvf xboing.tar -T test
gzip xboing.tar
cp xboing.tar.gz /mnt/usb
the above command can copy a software which have been installed on someone system to your own system^-^
#!/bin/sh
for fname in *;do
tmp=`echo $fname|tr [a-z] [A-Z]` #note ,tr can't act like this'tr fname [a-z] [A-Z]'
# it must run as this'tr #so,if you want rename a file list,you must redirect tr's stdin to some command's stdout
mv $fname $tmp
done
the above code cost me lots of time!^-^
it can rename file name in your current dir from lowercase to upper case
this is very useful while you untar a tarball which is tared in a dos/windows system

date +%m-%d-%Y
the above cmd can output current time in MM-DD-YYYY format

tr -s '/n' '/n' the above cmd will del all empty line

ls {*.wav,*.mp3}
the above cmd list all mp3 or wav files in current dir
ls {*.wav,*.mp3,*.log}
the above cmd list all mp3 or wav or log files in current dir

if [ $(date +%H) -ge 22 ]; then
echo whp; else
echo dll; fi
you can do diffrent work in diffrent time

grep 'd/+' test.txt
grep 'd/{1,/}' test.txt
the above cmd match lines which contain one or more 'd'

if you want to use xpdf,you must install /slackware/l/lesstif

声明:本网页内容旨在传播知识,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

文档

一些自己实践得出的技巧1

一些自己实践得出的技巧1:locate xboing test tar -cvf xboing.tar -T test gzip xboing.tar cp xboing.tar.gz /mnt/usb the above command can copy a software which have been installed on someone system to your own system^-^ #!/bin/sh for fname in *;do tmp=`echo $fname|t
推荐度:
标签: 自己的 技巧 一些
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top