[GH-ISSUE #1316] [Feature Request]support quick command #752

Closed
opened 2026-02-27 00:00:51 +03:00 by kerem · 4 comments
Owner

Originally created by @lizhuangs on GitHub (Aug 15, 2019).
Original GitHub issue: https://github.com/electerm/electerm/issues/1316

[Feature Request]support quick command

希望支持快速命令,谢谢~

Originally created by @lizhuangs on GitHub (Aug 15, 2019). Original GitHub issue: https://github.com/electerm/electerm/issues/1316 ## [Feature Request]support quick command 希望支持快速命令,谢谢~
kerem 2026-02-27 00:00:51 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@zxdong262 commented on GitHub (Aug 15, 2019):

什么样的快速命令呢,可以解释一下吗

<!-- gh-comment-id:521501222 --> @zxdong262 commented on GitHub (Aug 15, 2019): 什么样的快速命令呢,可以解释一下吗
Author
Owner

@lizhuangs commented on GitHub (Aug 15, 2019):

就是终端的最下面有一个快速命令的状态栏,比如
这个命令每天查看服务器日志,取名为tail log:
Date=`date "+%Y-%m-%d"`;echo -e " \n\033[42;31m ###today is "$Date" ,show logs start... : ###\033[0m\n";tail -400f ./logs/catalina.$Date.log;
点击tail log终端上面就会自动执行这个命令,一般会把经常用的命令放在这里。可以在各种服务器执行。毕竟本地的alias只能在当前机器使用。

<!-- gh-comment-id:521509607 --> @lizhuangs commented on GitHub (Aug 15, 2019): 就是终端的最下面有一个快速命令的状态栏,比如 这个命令每天查看服务器日志,取名为tail log: ```Date=`date "+%Y-%m-%d"`;echo -e " \n\033[42;31m ###today is "$Date" ,show logs start... : ###\033[0m\n";tail -400f ./logs/catalina.$Date.log;``` 点击tail log终端上面就会自动执行这个命令,一般会把经常用的命令放在这里。可以在各种服务器执行。毕竟本地的alias只能在当前机器使用。
Author
Owner

@zxdong262 commented on GitHub (Aug 22, 2019):

@lizhuangs 感谢,已发布新版本,支持快速命令,不知道是不是你期望的样子,欢迎反馈。

<!-- gh-comment-id:523708841 --> @zxdong262 commented on GitHub (Aug 22, 2019): @lizhuangs 感谢,已发布新版本,支持快速命令,不知道是不是你期望的样子,欢迎反馈。
Author
Owner

@lizhuangs commented on GitHub (Aug 22, 2019):

昨天看到关闭issue就在等新版本了,发现官网没更新。已试用,体验很棒,感谢!

<!-- gh-comment-id:523733419 --> @lizhuangs commented on GitHub (Aug 22, 2019): 昨天看到关闭issue就在等新版本了,发现官网没更新。已试用,体验很棒,感谢!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#752
No description provided.