2/20/2023 0 Comments Mac terminal commands pwd![]() ![]() Whatever programs execute or work you do in your Terminal, like when you click on things in your GUI, that action happens in the context of a "Working Directory."Ī "Working Directory" just means wherever on your computer's hard drive you are when you execute a program, again, whether through clicking on an icon in your GUI or running a command in your Terminal like learn hello. When you open a Terminal session, you are placed within a directory of your file system. Let's learn to navigate our computer using the Terminal Command Line Interface. As programmers, the Terminal is our workbench, not the GUI. Our Terminal provides us with a Command Line Interface to navigate and operate on the files and folders of our computer, just like the GUI. We're used to navigating and operating on these files using our GUI, our Graphical User Interface, provided by OS X. ![]() The Dock and Desktop are just abstractions for that directory to make them easy to access. When you click on a file on your Desktop or Open an application from Your Dock or Applications directory, you are still opening a file in a directory. When you open an application from your Finder or Desktop, it always happens from the context of a "Working Directory" - the directory of your computer you were in when you executed the program. Even files on your Desktop that you click on are stored in your computer's file system, your hard drive. When you open a file on your computer, you locate it in by navigating through the directories on your computer's file system using Finder. to open the current directory in Sublime Text. to open the current directory of your Terminal session in Finder. to change directories of your Terminal session. Use ls to list the files in the current directory of your Terminal session.Use pwd to identify the current directory of your Terminal session.Understand how to navigate your files using Terminal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |