tsgcli对比文件内容更新

This commit is contained in:
zhangwenqing
2020-04-16 19:10:42 +08:00
parent 756106a5c8
commit a32c839dc6
2 changed files with 32 additions and 30 deletions

View File

@@ -7,62 +7,64 @@
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|3 |cat |N |concatenate files and print on the standard output | |3 |cat |N |concatenate files and print on the standard output |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|4 |cp |Y |copy files and directories | |4 |cd |N |change the current directory |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|5 |exit |N |close and quit current SSH connection. | |5 |clear |N |clear |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|6 |find |N |search for files in a directory hierarchy | |6 |cp |Y |copy files and directories |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|7 |grep |N |print lines matching a pattern | |7 |exit |N |close and quit current SSH connection. |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|8 |head |N |output the first part of files | |8 |find |N |search for files in a directory hierarchy |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|9 |history |N |display the command history list with line numbers | |9 |grep |N |print lines matching a pattern |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|10 |ifconfig |Y |configure a network interface | |10 |head |N |output the first part of files |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|11 |ls |N |list directory contents | |11 |history |N |display the command history list with line numbers |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|12 |mkdir |Y |make directories | |12 |ifconfig |Y |configure a network interface |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|13 |mv |Y |move (rename) files | |13 |ls |N |list directory contents |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|14 |ping |N |send ICMP ECHO_REQUEST to network hosts | |14 |mkdir |Y |make directories |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|15 |rm |Y |remove files or directories | |15 |mv |Y |move (rename) files |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|16 |sort |N |sort lines of text files | |16 |ping |N |send ICMP ECHO_REQUEST to network hosts |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|17 |tail |N |output the last part of files | |17 |pwd |N |print name of current/working directory |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|18 |whoami |N |print effective userid | |18 |rm |Y |remove files or directories |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|19 |cd |N |change the current directory | |19 |rz |Y |XMODEM, YMODEM, ZMODEM (Batch) file receive |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|20 |clear |N |clear | |20 |scp |Y |secure copy (remote file copy program) |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|21 |pwd |N |print name of current/working directory | |21 |sort |N |sort lines of text files |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|22 |rz |Y |XMODEM, YMODEM, ZMODEM (Batch) file receive | |22 |sz |Y |XMODEM, YMODEM, ZMODEM file send |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|23 |sz |Y |XMODEM, YMODEM, ZMODEM file send | |23 |tail |N |output the last part of files |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|24 |scp |Y |secure copy (remote file copy program) | |24 |tsg_diagnose |N |Fast Fault Diagnosis |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|25 |vi |Y |a programmers text editor | |25 |tsg_help |N |Get help documents |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|26 |vim |Y |a programmers text editor | |26 |tsg_passwd |N |Change Password |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|27 |tsg_diagnose |N |Fast Fault Diagnosis | |27 |tsg_policy |Y |query and configure policy information |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|28 |tsg_policy |Y |query and configure policy information | |28 |tsg_policy_object |Y |query policy object information |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|29 |tsg_policy_object |Y |query policy object information | |29 |tsg_record |Y |Record executed commands |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|30 |tsg_record |Y |Record executed commands | |30 |tsg_show |N |show tsg device information |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|31 |tsg_show |N |show tsg device information | |31 |vi |Y |a programmers text editor |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
|32 |tsg_passwd |N |Change Password | |32 |vim |Y |a programmers text editor |
+---+--------------------+---------------+------------------------------------------------------------+
|33 |whoami |N |print effective userid |
+---+--------------------+---------------+------------------------------------------------------------+ +---+--------------------+---------------+------------------------------------------------------------+
tsgcli > tsgcli >

View File

@@ -1,5 +1,5 @@
Policy query Policy query
tsg_policy [--query --policyType(tsg_security|pxy_manipulation|pxy_cache) --policyId --policyName --policyDesc --all] Query strategy: policyType is required, policyId, policyName, policyDesc is not. tsg_policy [--query --policyType(tsg_security|pxy_manipulation|pxy_cache) --policyId --policyName --policyDesc --all] Query strategy: policyType is required, policyId, policyName, policyDesc is not.
tsg_policy [--enable --policyId --policyType] Enable the strategy tsg_policy [--enable --policyId --policyType] Enable the strategy
tsg_policy [--disable --policyId --policyType] Stop using strategy tsg_policy [--disable --policyId --policyType] Disable using strategy
tsgcli > tsgcli >