Linux command to check disk space

Amount of disk space used and available on file system:
df -h
-h – human-readable format. Print sizes in powers of 1024 (e.g., 1023M)

Amount of disk space used by the specified files and for each subdirectory
du -h
-h – human-readable format. Print sizes in powers of 1024 (e.g., 1023M)

Disable chrome web security (cors) on MacOs

create a .command file: chrome-cors.command with the following code:

open /Applications/Google\ Chrome.app --args --disable-web-security --user-data-dir="" --disable-features=CrossSiteDocumentBlockingIfIsolating

make sure the chrome application is located in /Applications folder and is called Google Chrome.app
Launch the script from terminal (command line interface): ./chrome-cors.command
in the above example, in order to lunch the script, you have to be located in the same folder where the .command script is located