How to navigate to to different directories in the terminal (mac)?

后端 未结 1 1090
南方客
南方客 2021-02-01 05:25

I have just installed sass and I am now tryring to access the sass file. For example:

sass --watch ~/Desktop/sass/css/style.css:style.css

and t

相关标签:
1条回答
  • 2021-02-01 06:14

    To check that the file you're trying to open actually exists, you can change directories in terminal using cd. To change to ~/Desktop/sass/css: cd ~/Desktop/sass/css. To see what files are in the directory: ls.

    If you want information about either of those commands, use the man page: man cd or man ls, for example.

    Google for "basic unix command line commands" or similar; that will give you numerous examples of moving around, viewing files, etc in the command line.

    On Mac OS X, you can also use open to open a finder window: open . will open the current directory in finder. (open ~/Desktop/sass/css will open the ~/Desktop/sass/css).

    0 讨论(0)
提交回复
热议问题