Skip to content

Commit e69e7e5

Browse files
committed
Update hints.md
1 parent a69f893 commit e69e7e5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/hints.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ Examples:
1717
- **CTRL-l**: Clear the terminal
1818
- **TAB**: Auto-complete (i.e. start write a command or file name and then press TAB to auto-complete, if possible)
1919
- **ARROW-UP**: Pressing the arrow-up key repeatedly will let you cycle through recent commands
20-
- **CTRL-r**: you will get a prompt to write text to search in the list of recent commands. The list is saved in <code>.bash.history</code> in your $HOME.
20+
- **CTRL-r**: you will get a prompt to write text to search in the list of recent commands. The list is saved in <code>.bash_history</code> in your $HOME. On some systems it might be called <code>.bash.history</code>
2121

2222
## Finding help
2323

24-
You can often get more info on flags/options and usage for a Linux command with
24+
You can often get more info on the usage of a Linux command. This includes options and flags. Depending on the setup of your system either or both of the following should succeed:
2525

2626
- ``COMMAND --help``
2727
- ``man COMMAND``
@@ -30,8 +30,8 @@ where COMMAND is the Linux command you want information about, like ``ls``, ``mk
3030

3131
## Misc
3232

33-
- Write 'clear' to clear the terminal
34-
- write 'history' to see a list of the most recent commands written in the terminal
35-
- You can change the number of saved commands by setting the environment variable HISTSIZE in your <code>.bashrc file</code> in your home directory.
36-
- Example: Open <code>.bashrc</code> with <code>nano</code>. Somewhere (at the end for instance) add: <code>export HISTSIZE=NUMBER"</code> where <code>NUMBER</code> is the number of commands to save, for instance 10000.
33+
- Type ``clear`` to clear the terminal
34+
- Type ``history'`` to see a list of the recent commands used in the terminal
35+
- You can change the number of saved commands by setting the environment variable HISTSIZE in your <code>.bashrc</code> file in your home directory.
36+
- Example: Open <code>.bashrc</code> with <code>nano</code>. Somewhere (at the end for instance) add: <code>export HISTSIZE=NUMBER"</code> where <code>NUMBER</code> is the number of commands to save, for instance 500.
3737

0 commit comments

Comments
 (0)