badrd.blogg.se

Mac console commands list
Mac console commands list






mac console commands list

Putting the letters ``no'' before or removing the letters ``no'' from a Hidden set the hidden flag Īs discussed in chflags(2), the sappnd and schg flags may only be unset Set the user immutable flag (owner or super-user only) Set the user append-only flag (owner or super-user only) Set the system immutable flag (super-user only) Set the system append-only flag (super-user only) Nodump set the nodump flag (owner or super-user only) Is opaque when viewed through a union mount] Opaque set the opaque flag (owner or super-user only). The following keywords are currently defined: The flags are specified as an octal number or a comma separated list of If the -v option is specified more than once, the oldĪnd new flags of the file will also be printed, in octal nota. v Cause chflags to be verbose, showing filenames as the flags are R Change the file flags for the file hierarchies rooted in theįiles instead of just the files themselves. P If the -R option is specified, no symbolic links are followed. L If the -R option is specified, all symbolic links are followed. Itself rather than the file to which it points. h If the file is a symbolic link, change the file flags of the link (Symbolic links encountered in the tree traversal H If the -R option is specified, symbolic links on the command lineĪre followed. The flags for file, nor modify the exit status to reflect such f Do not display a diagnostic message if chflags could not modify The chflags utility modifies the file flags of the listed files as speci.

mac console commands list

Here you have: CHFLAGS(1) BSD General Commands Manual CHFLAGS(1)Ĭhflags ] flags file.

mac console commands list

If you don't have Xcode and don't want to download about 6 GB, you can use sudo chflags hidden|nohidden Ĭhflags is a BSD command and it also has a Man Page just enter this in Terminal man chflagsįor those who don't like to enter commands self and just would like to know what there stands in the man. SetFile is not a OS X native command it comes bundled with DevTools/Xcode. SetFile can change a lot of other file attributes and metadata, as well. osx file for OS X-specific preferences and settings. Imgur() Īll of these are in my ~/.bash_profile so I can use them in every Terminal window.įor more, see my dotfiles repository on GitHub, and/or view my. # Upload image to Imgur and return its URL. Alias la="ls -Ga" # list all, includes dot filesĪlias ll="ls -Gl" # long list, excludes dot filesĪlias lla="ls -Gla" # long list all, includes dot filesĪlias stfu="osascript -e 'set volume output muted true'"Īlias pumpitup="sudo osascript -e 'set volume 10'"Īlias ips="ifconfig -a | perl -nle'/(\d+\.\d+\.\d+\.\d+)/ & print $1'"Īlias myip="dig +short flush="dscacheutil -flushcache" # Flush DNS cacheĪlias gzip="gzip -9n" # set strongest compression level as ‘default’ for gzipĪlias ping="ping -c 5" # ping 5 times ‘by default’Īlias ql="qlmanage -p 2>/dev/null" # preview a file using QuickLook








Mac console commands list