Typing the file name is super annoying though - write cat and then hit TAB to autocomplete the filename.pwd to check you’re in the right place!.cd ~/Downloads to change directory into your Downloads folder.In class, we downloaded a file from Slack to test out our new commands! Extract the zip file, and then: File and folder names have to be typed exactly as is! cd desktop and cd Desktop are different (you probably want to use the latter).clear will do exactly as it sounds your Terminal/Babun shell will be cleared of all commands and output.If your command line is running something it shouldn’t be, use Ctrl+C to escape/exit.cd : it’ll autocomplete the path to that folder! This only works on Macs.cd ~/Downloads: takes you directly to your Downloads folder.cd ~: takes you directly to your home directory.When you see ~ in terminal, it means you’re in your home directory.You can use a bunch of flags together ls -lh or ls -lha.-a: all, shows you hidden files, usually important stuff your computer doesn’t want you to deal with.-h: makes the displayed filesize numbers human readable!.-l: displays more information about your files and folders (you’d enter it as ls -l in your shell). ![]() A few helpful flags to add to the ls command:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |