Skip to content

Commit

Permalink
daily translating patch feb 15
Browse files Browse the repository at this point in the history
  • Loading branch information
tg123 committed Feb 15, 2015
1 parent 54bbd94 commit b0c8fca
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 65 deletions.
8 changes: 0 additions & 8 deletions _data/10_30_50_ping_c1_w3_192_168_0_14_dev_null.yaml

This file was deleted.

This file was deleted.

5 changes: 2 additions & 3 deletions _data/dd_if_dev_sda_of_backup_disk_yy_mm_dd_img.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
commandlinefu_id: 6584
translator:
weibo: ''
hide: true
weibo: tgic
command: |-
dd if=/dev/sda of=~/backup-disk-YY-MM-DD.img
summary: |-
Back Up a disk to an image in your home directory
备份硬盘
5 changes: 2 additions & 3 deletions _data/dd_if_dev_urandom_of_dev_somedisk.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
commandlinefu_id: 10098
translator:
weibo: ''
hide: true
weibo: tgic
command: |-
dd if=/dev/urandom of=/dev/somedisk
summary: |-
Completly blank a disk
把硬盘送人前
5 changes: 2 additions & 3 deletions _data/filename_echo_1_grep_o.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
commandlinefu_id: 9066
translator:
weibo: ''
hide: true
weibo: tgic
command: |-
fileName() { echo "$1" | grep -o "[^/]*$"; }
summary: |-
Alternative for basename using grep to extract file name
另一种basename 的实现

This file was deleted.

8 changes: 0 additions & 8 deletions _data/ll_root_2_1_grep_e_psw_password.yaml

This file was deleted.

5 changes: 2 additions & 3 deletions _data/ls_ldct_lost_found_awk_print_6_7.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
commandlinefu_id: 3385
translator:
weibo: ''
hide: true
weibo: tgic
command: |-
ls -ldct /lost+found |awk '{print $6, $7}'
summary: |-
When was your OS installed?
查看系统安装时间
5 changes: 2 additions & 3 deletions _data/mysqldump_u_uname_p_dbname_tablename_filename.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
commandlinefu_id: 5094
translator:
weibo: ''
hide: true
weibo: tgic
command: |-
mysqldump -u UNAME -p DBNAME TABLENAME> FILENAME
summary: |-
dump a single table of a database to file
把表导出到文件里边
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
commandlinefu_id: 7130
translator:
weibo: ''
hide: true
weibo: tgic
command: |-
socat TCP-LISTEN:locport,fork TCP:XXX.XXX.XXX.XXX:YYY,sourceport=srcport
summary: |-
Create a tunnel from a remote server to the local machine using a specific source port
端口映射隧道
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
commandlinefu_id: 13114
translator:
weibo: ''
hide: true
weibo: tgic
command: |-
ssh HOST '(cd REPO_DIR && git diff --name-only HEAD | cpio -o -Hnewc --quiet)' | cpio -iduv --quiet -Hnewc
summary: |-
Copy uncommitted changes from remote git repository
从远端复制未提交的改动
5 changes: 2 additions & 3 deletions _data/sudo_dmidecode_t_5_16.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
commandlinefu_id: 2267
translator:
weibo: ''
hide: true
weibo: tgic
command: |-
sudo dmidecode -t 5,16
summary: |-
Lists the supported memory types and how much your board can support.
列出支持的内存类型
5 changes: 2 additions & 3 deletions _data/svn_revert.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
commandlinefu_id: 12003
translator:
weibo: ''
hide: true
weibo: tgic
command: |-
svn revert .
summary: |-
Revert all modified files in an SVN repo
撤销svn改动
5 changes: 2 additions & 3 deletions _data/tar_cvf_my_txt_files_tar_find_type_f_name_txt.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
commandlinefu_id: 13442
translator:
weibo: ''
hide: true
weibo: tgic
command: |-
tar cvf my_txt_files.tar `find . -type f -name ".txt"`
summary: |-
Create a tar archive with all files of a certain type found in present dir and subdirs
从一个列表创建tar
5 changes: 2 additions & 3 deletions _data/wmic_os_get_osarchitecture_value_grep_eo.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
commandlinefu_id: 13264
translator:
weibo: ''
hide: true
weibo: tgic
command: |-
wmic OS get OSArchitecture /value | grep -Eo '[^=]*$'
summary: |-
get Windows OS architecture using Cygwin
获取windows 架构 [cygwin]

0 comments on commit b0c8fca

Please sign in to comment.