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

Add chapter on using bash #226

Merged
merged 5 commits into from
Nov 6, 2020
Merged

Add chapter on using bash #226

merged 5 commits into from
Nov 6, 2020

Conversation

bouweandela
Copy link
Member

Add chapter on using bash

Closes #215

Copy link
Member

@egpbos egpbos left a comment

Choose a reason for hiding this comment

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

I think this is a really great chapter! Of course, I have a number of suggestions ;) But just wanted to mention here that I think the general structure and the selection of tools and topics is excellent.

best_practices/language_guides/bash.md Outdated Show resolved Hide resolved
best_practices/language_guides/bash.md Show resolved Hide resolved
best_practices/language_guides/bash.md Outdated Show resolved Hide resolved
- `chmod` - Change the permissions on a file or directory
- `chown` - Change the owner of a file or directory
- `find` - Search for files and directories on the file system
- `locate`, `updatedb` - Search for files and directories quickly using a database
Copy link
Member

Choose a reason for hiding this comment

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

Locate is not essential, especially not when talking about Bash scripting (which I think is the main purpose of this guide?). It would be more apt when trying to argue that people don't need their graphical OS'es but can do everything from the command line.

Copy link
Member Author

Choose a reason for hiding this comment

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

No, the main purpose of chapter would be to encourage people to know the functionality available from the (bash) command line, so they can work more efficiently. I wouldn't want to argue that you don't need a graphical OS, but I would like to argue that you can do lots of stuff much faster when you're proficient at using the command line.

Copy link
Member

@egpbos egpbos Nov 6, 2020

Choose a reason for hiding this comment

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

Ok, this is fine. So, do I understand correctly (also from other comments) that with this chapter you want to stimulate command line usage but discourage use of bash as a (scripting) language? In that case, maybe it shouldn't go under languages, but rather on some higher level or under some kind of directly under good practices section.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, this is fine. So, do I understand correctly (also from other comments) that with this chapter you want to stimulate command line usage but discourage use of bash as a (scripting) language?

Yes

In that case, maybe it shouldn't go under languages, but rather directly under good practices section.

Maybe I could add a note with a link there?

Copy link
Member Author

Choose a reason for hiding this comment

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

Added a link from the best practices overview document (and also a short section on editors).

best_practices/language_guides/bash.md Outdated Show resolved Hide resolved
best_practices/language_guides/bash.md Show resolved Hide resolved
best_practices/language_guides/bash.md Outdated Show resolved Hide resolved
best_practices/language_guides/bash.md Outdated Show resolved Hide resolved
best_practices/language_guides/bash.md Outdated Show resolved Hide resolved
best_practices/language_guides/bash.md Show resolved Hide resolved
Copy link
Member

@egpbos egpbos left a comment

Choose a reason for hiding this comment

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

Sorry, one more thing I forgot to mention.

best_practices/language_guides/bash.md Outdated Show resolved Hide resolved
@egpbos
Copy link
Member

egpbos commented Sep 14, 2020

Ah, one other useful command to add may be who. I use that on remote servers a lot to check whether I'm not disturbing anyone by hogging the full machine ;)

@bouweandela bouweandela merged commit 7d03262 into master Nov 6, 2020
@bouweandela bouweandela deleted the bash branch November 6, 2020 16:04
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.

Add language chapter on bash
4 participants