tr

替换、压缩、删除字符。

语法

  tr [options]... SET1 [SET2]

选项



  -c, -C, --complement        首先补足SET1
  -d, --delete                删除匹配SET1 的内容,并不作替换
  -s, --squeeze-repeats       如果匹配于SET1 的字符在输入序列中存在连续的
                              重复,在替换时会被统一缩为一个字符的长度
  -t, --truncate-set1         先将SET1 的长度截为和SET2 相等
      --help                  显示此帮助信息并退出
      --version                显示版本信息并退出

'tr’将标准输入复制到标准输出,执行下列操作之一:

  • 替换,并选择性地压缩重复字符在结果,

  • 压缩重复字符

  • 删除字符

  • 删除字符,然后从结果中压缩重复的字符

反斜杠转义
反斜杠后跟下面未列出的字符会导致错误.

   \a          Control-G.

   \b          Control-H.

   \f          Control-L.

   \n          Control-J.

   \r          Control-M.

   \t          Control-I.

   \v          Control-K.

   \OOO        具有OOO给出值的字符,为1到3个八进制数字

   \\          A backslash.

字符类


    `alnum'
         字母和数字

    `alpha'
          所有的字母

    `blank'
         水平的空白

    `cntrl'
          控制字符

    `digit'
           数字

    `graph'
           可打印的字符,不包括空格。

    `lower'
          小写字母。

    `print'
         可打印的字符,包括空格。

    `punct'
          标点字符。

    `space'
          水平或垂直空白。

    `upper'
          大写字母。

    `xdigit'
          H十六进制数字。

例子

大小写交换

$ echo "Hello World" | tr "A-Za-z" "a-zA-Z"
hELLO wORLD

转小写

$ echo "Hello World" | tr "[:upper:]" "[:lower:]"
 hello world

函数

 $ toLower() {
 echo $1 | tr "[:upper:]" "[:lower:]" 
 }

$ toLower SomeMixEDCaseText
somemixedcasetext

将路径分解为元素,每行一个:

$ echo $PATH | tr ":" "\n" | sort

字符交换

$ echo 'Hello world' | tr 'A-Za-z' 'N-ZA-Mn-za-m'
Uryyb jbeyq

$ echo 'Uryyb jbeyq' | tr 'A-Za-z' 'N-ZA-Mn-za-m'
Hello world

tr 命令实例:

linux命令:tr -c -d "a-zA-Z0-9" </dev/urandom | dd bs=30 count=1 2>/dev/null;echo 2>/dev/null;echo count=1 bs=30 dd | </dev/urandom "a-zA-Z0-9" -d -c tr tr -c -d "a-zA-Z0-9" </dev/urandom | dd bs=30 count=1 2>/dev/null;echorootopen.com
linux命令:tr -c -d "a-zA-Z0-9" </dev/urandom | dd bs=30 count=1 2>/dev/null;echo 2>/dev/null;echo count=1 bs=30 dd | </dev/urandom "a-zA-Z0-9" -d -c tr tr -c -d "a-zA-Z0-9" </dev/urandom | dd bs=30 count=1 2>/dev/null;echorootopen.com
2019-07-09 21:20:33

linux命令:tree -ihafF /var | tr '[]' ' '| sort -k1hr|head -10 -10 -k1hr|head sort '| ' '[]' tr | /var -ihafF tree tree -ihafF /var | tr '[]' ' '| sort -k1hr|head -10rootopen.com
linux命令:tree -ihafF /var | tr '[]' ' '| sort -k1hr|head -10 -10 -k1hr|head sort '| ' '[]' tr | /var -ihafF tree tree -ihafF /var | tr '[]' ' '| sort -k1hr|head -10rootopen.com
2019-06-03 22:50:35

linux命令:tr : \\n <<<$PATH <<<$PATH \\n : tr tr : \\n <<<$PATHrootopen.com
linux命令:tr : \\n <<<$PATH <<<$PATH \\n : tr tr : \\n <<<$PATHrootopen.com
2018-09-11 09:55:30

linux命令:tr -dc '[:print:]' < /dev/urandom /dev/urandom < '[:print:]' -dc tr tr -dc '[:print:]' < /dev/urandomrootopen.com
linux命令:tr -dc '[:print:]' < /dev/urandom /dev/urandom < '[:print:]' -dc tr tr -dc '[:print:]' < /dev/urandomrootopen.com
2018-05-07 13:35:48

linux命令:trap '' 1 2 20 24(signal number) number) 24(signal 20 2 1 '' trap trap '' 1 2 20 24(signal number)rootopen.com
linux命令:trap '' 1 2 20 24(signal number) number) 24(signal 20 2 1 '' trap trap '' 1 2 20 24(signal number)rootopen.com
2018-03-29 17:49:48

linux命令:tr -d "\n" < file1 > file2 file2 > file1 < "\n" -d tr tr -d "\n" < file1 > file2rootopen.com
linux命令:tr -d "\n" < file1 > file2 file2 > file1 < "\n" -d tr tr -d "\n" < file1 > file2rootopen.com
2018-05-15 15:45:48

linux命令:trap "echo \"$0 process $$ killed on $(date).\" | tee ${0##*/}_$$_termination.log; echo 'Active processes at the time were logged to ${0##*/}_$$_termination.log'; ps u >> ${0##*/}_$$_termination.log; exit " HUP INT QUIT ABRT TERM STOP STOP TERM ABRT QUIT INT HUP " exit ${0##*/}_$$_termination.log; >> u ps ${0##*/}_$$_termination.log'; to logged were time the at processes 'Active echo ${0##*/}_$$_termination.log; tee | $(date).\" on killed $$ process \"$0 "echo trap trap "echo \"$0 process $$ killed on $(date).\" | tee ${0##*/}_$$_termination.log; echo 'Active processes at the time were logged to ${0##*/}_$$_termination.log'; ps u >> ${0##*/}_$$_termination.log; exit " HUP INT QUIT ABRT TERM STOProotopen.com
linux命令:trap "echo \"$0 process $$ killed on $(date).\" | tee ${0##*/}_$$_termination.log; echo 'Active processes at the time were logged to ${0##*/}_$$_termination.log'; ps u >> ${0##*/}_$$_termination.log; exit " HUP INT QUIT ABRT TERM STOP STOP TERM ABRT QUIT INT HUP " exit ${0##*/}_$$_termination.log; >> u ps ${0##*/}_$$_termination.log'; to logged were time the at processes 'Active echo ${0##*/}_$$_termination.log; tee | $(date).\" on killed $$ process \"$0 "echo trap trap "echo \"$0 process $$ killed on $(date).\" | tee ${0##*/}_$$_termination.log; echo 'Active processes at the time were logged to ${0##*/}_$$_termination.log'; ps u >> ${0##*/}_$$_termination.log; exit " HUP INT QUIT ABRT TERM STOProotopen.com
2018-04-11 14:31:48

linux命令:trap "echo \"$0 process $$ killed on $(date).\"; exit " HUP INT QUIT ABRT TERM STOP STOP TERM ABRT QUIT INT HUP " exit $(date).\"; on killed $$ process \"$0 "echo trap trap "echo \"$0 process $$ killed on $(date).\"; exit " HUP INT QUIT ABRT TERM STOProotopen.com
linux命令:trap "echo \"$0 process $$ killed on $(date).\"; exit " HUP INT QUIT ABRT TERM STOP STOP TERM ABRT QUIT INT HUP " exit $(date).\"; on killed $$ process \"$0 "echo trap trap "echo \"$0 process $$ killed on $(date).\"; exit " HUP INT QUIT ABRT TERM STOProotopen.com
2018-05-01 02:04:48

linux命令:tr -dc "a-zA-Z0-9-_\$\?" < /dev/urandom | head -c 10 | gpg -e -r medha@nerdish.de > password.gpg password.gpg > medha@nerdish.de -r -e gpg | 10 -c head | /dev/urandom < "a-zA-Z0-9-_\$\?" -dc tr tr -dc "a-zA-Z0-9-_\$\?" < /dev/urandom | head -c 10 | gpg -e -r medha@nerdish.de > password.gpgrootopen.com
linux命令:tr -dc "a-zA-Z0-9-_\$\?" < /dev/urandom | head -c 10 | gpg -e -r medha@nerdish.de > password.gpg password.gpg > medha@nerdish.de -r -e gpg | 10 -c head | /dev/urandom < "a-zA-Z0-9-_\$\?" -dc tr tr -dc "a-zA-Z0-9-_\$\?" < /dev/urandom | head -c 10 | gpg -e -r medha@nerdish.de > password.gpgrootopen.com
2018-01-24 13:38:48

linux命令:true && { echo success;} || { echo failed; } } failed; echo { || success;} echo { && true true && { echo success;} || { echo failed; }rootopen.com
linux命令:true && { echo success;} || { echo failed; } } failed; echo { || success;} echo { && true true && { echo success;} || { echo failed; }rootopen.com
2018-05-23 19:01:48

linux命令:trap cmd 0 0 cmd trap trap cmd 0rootopen.com
linux命令:trap cmd 0 0 cmd trap trap cmd 0rootopen.com
2018-03-20 11:06:48

linux命令:transcode -i myvideo.avi -x mplayer="-sub myvideo.srt" -o myvideo_subtitled.avi -y xvid xvid -y myvideo_subtitled.avi -o myvideo.srt" mplayer="-sub -x myvideo.avi -i transcode transcode -i myvideo.avi -x mplayer="-sub myvideo.srt" -o myvideo_subtitled.avi -y xvidrootopen.com
linux命令:transcode -i myvideo.avi -x mplayer="-sub myvideo.srt" -o myvideo_subtitled.avi -y xvid xvid -y myvideo_subtitled.avi -o myvideo.srt" mplayer="-sub -x myvideo.avi -i transcode transcode -i myvideo.avi -x mplayer="-sub myvideo.srt" -o myvideo_subtitled.avi -y xvidrootopen.com
2018-01-27 11:51:48

linux命令:tr "[:upper:]" "[:lower:]" < file file < "[:lower:]" "[:upper:]" tr tr "[:upper:]" "[:lower:]" < filerootopen.com
linux命令:tr "[:upper:]" "[:lower:]" < file file < "[:lower:]" "[:upper:]" tr tr "[:upper:]" "[:lower:]" < filerootopen.com
2018-05-17 02:25:48

linux命令:tr -c "[:digit:]" " " < /dev/urandom | dd cbs=$COLUMNS conv=unblock | GREP_COLOR="1;32" grep --color "[^ ]" ]" "[^ --color grep GREP_COLOR="1;32" | conv=unblock cbs=$COLUMNS dd | /dev/urandom < " " "[:digit:]" -c tr tr -c "[:digit:]" " " < /dev/urandom | dd cbs=$COLUMNS conv=unblock | GREP_COLOR="1;32" grep --color "[^ ]"rootopen.com
linux命令:tr -c "[:digit:]" " " < /dev/urandom | dd cbs=$COLUMNS conv=unblock | GREP_COLOR="1;32" grep --color "[^ ]" ]" "[^ --color grep GREP_COLOR="1;32" | conv=unblock cbs=$COLUMNS dd | /dev/urandom < " " "[:digit:]" -c tr tr -c "[:digit:]" " " < /dev/urandom | dd cbs=$COLUMNS conv=unblock | GREP_COLOR="1;32" grep --color "[^ ]"rootopen.com
2018-02-24 09:00:48

linux命令:tr ' \t' '\n' <INFILE >OUTFILE >OUTFILE <INFILE '\n' \t' ' tr tr ' \t' '\n' <INFILE >OUTFILErootopen.com
linux命令:tr ' \t' '\n' <INFILE >OUTFILE >OUTFILE <INFILE '\n' \t' ' tr tr ' \t' '\n' <INFILE >OUTFILErootopen.com
2018-02-02 01:11:48

linux命令:tr " " "\n" | nl nl | "\n" " " tr tr " " "\n" | nlrootopen.com
linux命令:tr " " "\n" | nl nl | "\n" " " tr tr " " "\n" | nlrootopen.com
2018-02-26 09:42:48

linux命令:tr : '\n' <<<$PATH <<<$PATH '\n' : tr tr : '\n' <<<$PATHrootopen.com
linux命令:tr : '\n' <<<$PATH <<<$PATH '\n' : tr tr : '\n' <<<$PATHrootopen.com
2018-05-05 19:43:48

linux命令:trap 'echo -e "\e]0;$BASH_COMMAND\007"' DEBUG DEBUG "\e]0;$BASH_COMMAND\007"' -e 'echo trap trap 'echo -e "\e]0;$BASH_COMMAND\007"' DEBUGrootopen.com
linux命令:trap 'echo -e "\e]0;$BASH_COMMAND\007"' DEBUG DEBUG "\e]0;$BASH_COMMAND\007"' -e 'echo trap trap 'echo -e "\e]0;$BASH_COMMAND\007"' DEBUGrootopen.com
2018-02-04 02:14:48

linux命令:tr '[:lower:]' '[:upper:]' <"$1" <"$1" '[:upper:]' '[:lower:]' tr tr '[:lower:]' '[:upper:]' <"$1"rootopen.com
linux命令:tr '[:lower:]' '[:upper:]' <"$1" <"$1" '[:upper:]' '[:lower:]' tr tr '[:lower:]' '[:upper:]' <"$1"rootopen.com
2018-05-08 06:22:48

linux命令:tr -c -d 0-9 < /dev/urandom | head -c 10 10 -c head | /dev/urandom < 0-9 -d -c tr tr -c -d 0-9 < /dev/urandom | head -c 10rootopen.com
linux命令:tr -c -d 0-9 < /dev/urandom | head -c 10 10 -c head | /dev/urandom < 0-9 -d -c tr tr -c -d 0-9 < /dev/urandom | head -c 10rootopen.com
2017-12-28 17:07:48

linux命令:tree -d -d tree tree -drootopen.com
linux命令:tree -d -d tree tree -drootopen.com
2018-01-14 17:51:48

linux命令:tree -dL 1 1 -dL tree tree -dL 1rootopen.com
linux命令:tree -dL 1 1 -dL tree tree -dL 1rootopen.com
2018-05-25 19:37:48

linux命令:tr -d '\r\n' < input_file.txt > output_file.txt output_file.txt > input_file.txt < '\r\n' -d tr tr -d '\r\n' < input_file.txt > output_file.txtrootopen.com
linux命令:tr -d '\r\n' < input_file.txt > output_file.txt output_file.txt > input_file.txt < '\r\n' -d tr tr -d '\r\n' < input_file.txt > output_file.txtrootopen.com
2018-05-14 23:30:48

linux命令:trash <file> <file> trash trash <file>rootopen.com
linux命令:trash <file> <file> trash trash <file>rootopen.com
2018-02-05 09:10:48

linux命令:tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 10 | sed 1q 1q sed | 10 -w fold | /dev/urandom < 'a-zA-Z0-9' -dc tr tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 10 | sed 1qrootopen.com
linux命令:tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 10 | sed 1q 1q sed | 10 -w fold | /dev/urandom < 'a-zA-Z0-9' -dc tr tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 10 | sed 1qrootopen.com
2018-01-17 08:46:48

linux命令:tr '\000' '\377' < /dev/zero | dd of=allones bs=1024 count=2k count=2k bs=1024 of=allones dd | /dev/zero < '\377' '\000' tr tr '\000' '\377' < /dev/zero | dd of=allones bs=1024 count=2krootopen.com
linux命令:tr '\000' '\377' < /dev/zero | dd of=allones bs=1024 count=2k count=2k bs=1024 of=allones dd | /dev/zero < '\377' '\000' tr tr '\000' '\377' < /dev/zero | dd of=allones bs=1024 count=2krootopen.com
2018-05-27 12:16:48

linux命令:traceroute 2>/dev/null -n google.com | awk '/^ *1/{print $2;exit}' $2;exit}' *1/{print '/^ awk | google.com -n 2>/dev/null traceroute traceroute 2>/dev/null -n google.com | awk '/^ *1/{print $2;exit}'rootopen.com
linux命令:traceroute 2>/dev/null -n google.com | awk '/^ *1/{print $2;exit}' $2;exit}' *1/{print '/^ awk | google.com -n 2>/dev/null traceroute traceroute 2>/dev/null -n google.com | awk '/^ *1/{print $2;exit}'rootopen.com
2018-04-06 03:14:48

linux命令:truncate foobar.txt foobar.txt truncate truncate foobar.txtrootopen.com
linux命令:truncate foobar.txt foobar.txt truncate truncate foobar.txtrootopen.com
2018-05-03 04:03:48

linux命令:translate(){ wget -qO- "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=$1&langpair=$2|${3:-en}" | sed 's/.*"translatedText":"\([^"]*\)".*}/\1\n/'; } } 's/.*"translatedText":"\([^"]*\)".*}/\1\n/'; sed | "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=$1&langpair=$2|${3:-en}" -qO- wget translate(){ translate(){ wget -qO- "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=$1&langpair=$2|${3:-en}" | sed 's/.*"translatedText":"\([^"]*\)".*}/\1\n/'; }rootopen.com
linux命令:translate(){ wget -qO- "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=$1&langpair=$2|${3:-en}" | sed 's/.*"translatedText":"\([^"]*\)".*}/\1\n/'; } } 's/.*"translatedText":"\([^"]*\)".*}/\1\n/'; sed | "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=$1&langpair=$2|${3:-en}" -qO- wget translate(){ translate(){ wget -qO- "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=$1&langpair=$2|${3:-en}" | sed 's/.*"translatedText":"\([^"]*\)".*}/\1\n/'; }rootopen.com
2018-05-20 22:54:48

linux命令:tr '\t' '\n' < inputfile inputfile < '\n' '\t' tr tr '\t' '\n' < inputfilerootopen.com
linux命令:tr '\t' '\n' < inputfile inputfile < '\n' '\t' tr tr '\t' '\n' < inputfilerootopen.com
2018-02-28 06:49:48

linux命令:tr '\n' '\t' < inputfile inputfile < '\t' '\n' tr tr '\n' '\t' < inputfilerootopen.com
linux命令:tr '\n' '\t' < inputfile inputfile < '\t' '\n' tr tr '\n' '\t' < inputfilerootopen.com
2018-03-25 11:11:48

linux命令:trickle -d 60 wget http://very.big/file http://very.big/file wget 60 -d trickle trickle -d 60 wget http://very.big/filerootopen.com
linux命令:trickle -d 60 wget http://very.big/file http://very.big/file wget 60 -d trickle trickle -d 60 wget http://very.big/filerootopen.com
2018-02-17 10:24:48

linux命令:tree -C | less -R -R less | -C tree tree -C | less -Rrootopen.com
linux命令:tree -C | less -R -R less | -C tree tree -C | less -Rrootopen.com
2018-02-10 05:56:48

linux命令:truecrypt volume.tc volume.tc truecrypt truecrypt volume.tcrootopen.com
linux命令:truecrypt volume.tc volume.tc truecrypt truecrypt volume.tcrootopen.com
2018-04-16 15:39:48

linux命令:true || false && echo true || echo false false echo || true echo && false || true true || false && echo true || echo falserootopen.com
linux命令:true || false && echo true || echo false false echo || true echo && false || true true || false && echo true || echo falserootopen.com
2018-01-28 19:18:48

linux命令:tr -d "\n\r" | grep -ioEm1 "<title[^>]*>[^<]*</title" | cut -f2 -d\> | cut -f1 -d\< -d\< -f1 cut | -d\> -f2 cut | "<title[^>]*>[^<]*</title" -ioEm1 grep | "\n\r" -d tr tr -d "\n\r" | grep -ioEm1 "<title[^>]*>[^<]*</title" | cut -f2 -d\> | cut -f1 -d\<rootopen.com
linux命令:tr -d "\n\r" | grep -ioEm1 "<title[^>]*>[^<]*</title" | cut -f2 -d\> | cut -f1 -d\< -d\< -f1 cut | -d\> -f2 cut | "<title[^>]*>[^<]*</title" -ioEm1 grep | "\n\r" -d tr tr -d "\n\r" | grep -ioEm1 "<title[^>]*>[^<]*</title" | cut -f2 -d\> | cut -f1 -d\<rootopen.com
2018-01-02 15:12:48

linux命令:tr '[A-Za-z]' '[N-ZA-Mn-za-m]' '[N-ZA-Mn-za-m]' '[A-Za-z]' tr tr '[A-Za-z]' '[N-ZA-Mn-za-m]'rootopen.com
linux命令:tr '[A-Za-z]' '[N-ZA-Mn-za-m]' '[N-ZA-Mn-za-m]' '[A-Za-z]' tr tr '[A-Za-z]' '[N-ZA-Mn-za-m]'rootopen.com
2018-01-26 17:43:48

linux命令:translate() { lng1="$1";lng2="$2";shift;shift; wget -qO- "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=${@// /+}&langpair=$lng1|$lng2" | sed 's/.*"translatedText":"\([^"]*\)".*}/\1\n/'; } } 's/.*"translatedText":"\([^"]*\)".*}/\1\n/'; sed | /+}&langpair=$lng1|$lng2" "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=${@// -qO- wget lng1="$1";lng2="$2";shift;shift; { translate() translate() { lng1="$1";lng2="$2";shift;shift; wget -qO- "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=${@// /+}&langpair=$lng1|$lng2" | sed 's/.*"translatedText":"\([^"]*\)".*}/\1\n/'; }rootopen.com
linux命令:translate() { lng1="$1";lng2="$2";shift;shift; wget -qO- "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=${@// /+}&langpair=$lng1|$lng2" | sed 's/.*"translatedText":"\([^"]*\)".*}/\1\n/'; } } 's/.*"translatedText":"\([^"]*\)".*}/\1\n/'; sed | /+}&langpair=$lng1|$lng2" "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=${@// -qO- wget lng1="$1";lng2="$2";shift;shift; { translate() translate() { lng1="$1";lng2="$2";shift;shift; wget -qO- "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=${@// /+}&langpair=$lng1|$lng2" | sed 's/.*"translatedText":"\([^"]*\)".*}/\1\n/'; }rootopen.com
2017-12-29 07:10:48

linux命令:tree -d -I 'CVS' -f -i | sed 's/\//./g' | sed 's/\.\.//g' 's/\.\.//g' sed | 's/\//./g' sed | -i -f 'CVS' -I -d tree tree -d -I 'CVS' -f -i | sed 's/\//./g' | sed 's/\.\.//g'rootopen.com
linux命令:tree -d -I 'CVS' -f -i | sed 's/\//./g' | sed 's/\.\.//g' 's/\.\.//g' sed | 's/\//./g' sed | -i -f 'CVS' -I -d tree tree -d -I 'CVS' -f -i | sed 's/\//./g' | sed 's/\.\.//g'rootopen.com
2018-03-10 04:29:48

linux命令:truss date 2>&1 | awk '/^time/{print $3}' $3}' '/^time/{print awk | 2>&1 date truss truss date 2>&1 | awk '/^time/{print $3}'rootopen.com
linux命令:truss date 2>&1 | awk '/^time/{print $3}' $3}' '/^time/{print awk | 2>&1 date truss truss date 2>&1 | awk '/^time/{print $3}'rootopen.com
2018-05-12 13:40:48

linux命令:tr '\000' '\377' < /dev/zero | dd bs=512 count=200000 status=noxfer | pipebench | sudo dd of=/dev/sdx of=/dev/sdx dd sudo | pipebench | status=noxfer count=200000 bs=512 dd | /dev/zero < '\377' '\000' tr tr '\000' '\377' < /dev/zero | dd bs=512 count=200000 status=noxfer | pipebench | sudo dd of=/dev/sdxrootopen.com
linux命令:tr '\000' '\377' < /dev/zero | dd bs=512 count=200000 status=noxfer | pipebench | sudo dd of=/dev/sdx of=/dev/sdx dd sudo | pipebench | status=noxfer count=200000 bs=512 dd | /dev/zero < '\377' '\000' tr tr '\000' '\377' < /dev/zero | dd bs=512 count=200000 status=noxfer | pipebench | sudo dd of=/dev/sdxrootopen.com
2018-04-12 18:24:48

linux命令:tree -fi /directory/path/* | grep "\.js" "\.js" grep | /directory/path/* -fi tree tree -fi /directory/path/* | grep "\.js"rootopen.com
linux命令:tree -fi /directory/path/* | grep "\.js" "\.js" grep | /directory/path/* -fi tree tree -fi /directory/path/* | grep "\.js"rootopen.com
2018-04-28 03:41:48

linux命令:translate() { echo $1: $(wget -q -O - 'http://www.google.de/dictionary?source=translation&q='$1'&langpair=en|de' | grep '^<span class="dct-tt">.*</span>$' | sed 's!<span class="dct-tt">\(.*\)</span>!\1, !'); } } !'); class="dct-tt">\(.*\)</span>!\1, 's!<span sed | class="dct-tt">.*</span>$' '^<span grep | 'http://www.google.de/dictionary?source=translation&q='$1'&langpair=en|de' - -O -q $(wget $1: echo { translate() translate() { echo $1: $(wget -q -O - 'http://www.google.de/dictionary?source=translation&q='$1'&langpair=en|de' | grep '^<span class="dct-tt">.*</span>$' | sed 's!<span class="dct-tt">\(.*\)</span>!\1, !'); }rootopen.com
linux命令:translate() { echo $1: $(wget -q -O - 'http://www.google.de/dictionary?source=translation&q='$1'&langpair=en|de' | grep '^<span class="dct-tt">.*</span>$' | sed 's!<span class="dct-tt">\(.*\)</span>!\1, !'); } } !'); class="dct-tt">\(.*\)</span>!\1, 's!<span sed | class="dct-tt">.*</span>$' '^<span grep | 'http://www.google.de/dictionary?source=translation&q='$1'&langpair=en|de' - -O -q $(wget $1: echo { translate() translate() { echo $1: $(wget -q -O - 'http://www.google.de/dictionary?source=translation&q='$1'&langpair=en|de' | grep '^<span class="dct-tt">.*</span>$' | sed 's!<span class="dct-tt">\(.*\)</span>!\1, !'); }rootopen.com
2018-01-30 17:06:48

linux命令:tr -cd '[:alnum:]' < /dev/urandom | fold -w30 | head -n1 -n1 head | -w30 fold | /dev/urandom < '[:alnum:]' -cd tr tr -cd '[:alnum:]' < /dev/urandom | fold -w30 | head -n1rootopen.com
linux命令:tr -cd '[:alnum:]' < /dev/urandom | fold -w30 | head -n1 -n1 head | -w30 fold | /dev/urandom < '[:alnum:]' -cd tr tr -cd '[:alnum:]' < /dev/urandom | fold -w30 | head -n1rootopen.com
2018-05-18 01:06:48

linux命令:tr A-Z a-z | tr -d 0-9\[\],\*-.?\:\"\(\)#\;\<\>\@ | tr ' /_' '\n' | sort | uniq -c -c uniq | sort | '\n' /_' ' tr | 0-9\[\],\*-.?\:\"\(\)#\;\<\>\@ -d tr | a-z A-Z tr tr A-Z a-z | tr -d 0-9\[\],\*-.?\:\"\(\)#\;\<\>\@ | tr ' /_' '\n' | sort | uniq -crootopen.com
linux命令:tr A-Z a-z | tr -d 0-9\[\],\*-.?\:\"\(\)#\;\<\>\@ | tr ' /_' '\n' | sort | uniq -c -c uniq | sort | '\n' /_' ' tr | 0-9\[\],\*-.?\:\"\(\)#\;\<\>\@ -d tr | a-z A-Z tr tr A-Z a-z | tr -d 0-9\[\],\*-.?\:\"\(\)#\;\<\>\@ | tr ' /_' '\n' | sort | uniq -crootopen.com
2018-05-21 05:40:48

linux命令:tr A-Z a-z | tr -d "[[:punct:]][[:digit:]]" | tr ' /_' '\n' | sort | uniq -c -c uniq | sort | '\n' /_' ' tr | "[[:punct:]][[:digit:]]" -d tr | a-z A-Z tr tr A-Z a-z | tr -d "[[:punct:]][[:digit:]]" | tr ' /_' '\n' | sort | uniq -crootopen.com
linux命令:tr A-Z a-z | tr -d "[[:punct:]][[:digit:]]" | tr ' /_' '\n' | sort | uniq -c -c uniq | sort | '\n' /_' ' tr | "[[:punct:]][[:digit:]]" -d tr | a-z A-Z tr tr A-Z a-z | tr -d "[[:punct:]][[:digit:]]" | tr ' /_' '\n' | sort | uniq -crootopen.com
2018-01-09 00:57:48

linux命令:tr A-Z a-z | tr -cs a-z '\n' | sort | uniq -c -c uniq | sort | '\n' a-z -cs tr | a-z A-Z tr tr A-Z a-z | tr -cs a-z '\n' | sort | uniq -crootopen.com
linux命令:tr A-Z a-z | tr -cs a-z '\n' | sort | uniq -c -c uniq | sort | '\n' a-z -cs tr | a-z A-Z tr tr A-Z a-z | tr -cs a-z '\n' | sort | uniq -crootopen.com
2018-03-22 17:44:48

linux命令:tr -cs A-Za-z '\n' | sort | uniq -ci -ci uniq | sort | '\n' A-Za-z -cs tr tr -cs A-Za-z '\n' | sort | uniq -cirootopen.com
linux命令:tr -cs A-Za-z '\n' | sort | uniq -ci -ci uniq | sort | '\n' A-Za-z -cs tr tr -cs A-Za-z '\n' | sort | uniq -cirootopen.com
2018-03-23 17:34:48

linux命令:truncate -s 1M file file 1M -s truncate truncate -s 1M filerootopen.com
linux命令:truncate -s 1M file file 1M -s truncate truncate -s 1M filerootopen.com
2018-02-18 23:04:48

linux命令:tr "\n" " " < file file < " " "\n" tr tr "\n" " " < filerootopen.com
linux命令:tr "\n" " " < file file < " " "\n" tr tr "\n" " " < filerootopen.com
2018-05-19 05:06:48

Linux的Bash命令行(A-Z排序)