shelllings

a practical way to learn shell
git clone https://git.davidvoz.net/shelllings.git
index
logs
tree
license

23_man_and_tips.sh
1#!/bin/sh
2
3# At this point, you have learned many commands that are used and you
4# won't be able to remember them all at the top of your head. Instead of
5# going into your notes on into this folder, use the '--help'
6# (sometimes '-h') to see the basic usage or the 'man' command to get
7# a more detailed documentation
8#
9# $ cat --help # displays a basic help message
10# $ man echo # enters you into a more detailed portal
11#
12# You should try out those commands right in the terminal.
13#
14# If there are more specific use cases or you only need a few commands
15# that you keep forgetting, consider using the 'ffr' command located at
16# https://github.com/davidvoz/toyotacorolla/blob/main/ffr
17# For the linux users here, copy that code into .local/bin/ffr and add
18# the line below to your .bashrc or .zshrc. Follow the instructions on
19# the script and try it out.
20#
21# $ export PATH="$HOME/.local/bin:$PATH"
22#
23# To keep this exercise simple, figure out how many lines the man page
24# for cat uses, and the amount of words in ls's help command
25
26echo "$amount_cat" # leave this unchanged
27echo "$amount_ls" # leave this unchanged