-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
script: add page #2485
script: add page #2485
Conversation
The build for this PR has failed with the following error(s):
Please fix the error(s) and push again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also use tokens ({{}}
) for logfile.log.
pages/common/script.md
Outdated
@@ -0,0 +1,19 @@ | |||
# script | |||
|
|||
> Make typescript of terminal session. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Make a typescript file of a terminal session" sounds clearer
pages/common/script.md
Outdated
|
||
> Make typescript of terminal session. | ||
|
||
- Start recording in new file: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should start with the simplest option first - script
. And mention that without any arguments it saves in a file named "typescript"
pages/common/script.md
Outdated
|
||
- Append to an existing log file: | ||
|
||
`command -a logfile.log` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
script instead of command.
pages/common/script.md
Outdated
|
||
`command -a logfile.log` | ||
|
||
- Record without start and done messages (quiet): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about - "Execute quietly without start and done messages"
The build for this PR has failed with the following error(s):
Please fix the error(s) and push again. |
The build for this PR has failed with the following error(s):
Please fix the error(s) and push again. |
- Changed file to logfile.log to be consistent. - Removed "log" from description as it is redundant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made some slight changes. Hope that's okay.
I created a page for the unix command script that records the terminal.
[x ] The page (if new), does not already exist in the repo.
[ x] The page (if new), has been added to the correct platform folder:
common/
if it's common to all platforms,linux/
if it's Linux-specific, and so on.[ x] The page has 8 or fewer examples.
[ x] The PR is appropriately titled:
<command name>: add page
for new pages, or<command name>: <description of changes>
for pages being edited.[ x] The page follows the contributing guidelines.