Skip to content
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

Added bcctools, direnv and a history file suggestion #656

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Matty9191
Copy link

Hope folks find these suggestions useful.

@@ -95,6 +95,8 @@ Notes:

- If you are halfway through typing a command but change your mind, hit **alt-#** to add a `#` at the beginning and enter it as a comment (or use **ctrl-a**, **#**, **enter**). You can then return to it later via command history.

- To avoid a command being written to your history file, you can prefix it with a space ` export AWS_SECRET_KEY=XXXXX`. This is useful if you work with API keys or passwords on the command line.

- Use `xargs` (or `parallel`). It's very powerful. Note you can control how many items execute per line (`-L`) as well as parallelism (`-P`). If you're not sure if it'll do the right thing, use `xargs echo` first. Also, `-I{}` is handy. Examples:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only true (for bash, at least) when HISTCONTROL=ignorespace (or =ignoreboth)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants