diff --git a/languages/bash.sh b/languages/bash.sh index b1ecce3..1787377 100644 --- a/languages/bash.sh +++ b/languages/bash.sh @@ -92,6 +92,7 @@ touch # creates or updates (edit) your file mktemp -t # make a temp file in /tmp/ which is deleted at next boot (-d to make directory) cat # displays file raw content (will not be interpreted) cat -n # shows number of lines +nl # shows number of lines in file cat filename1 > filename2 # Copy filename1 to filename2 cat filename1 >> filename2 # merge two files texts together any_command > # '>' is used to perform redirections, it will set any_command's stdout to file instead of "real stdout" (generally /dev/stdout)