How to query the AppleShowAllFiles status of com.apple.Finder?

want to write a .command file to quickly switch whether to display the full file.

you usually need to knock one line at a time

defaults write com.apple.Finder AppleShowAllFiles YES(NO) && killAll Finder

is there any way to query the status of AppleShowAllFiles to quickly switch over if then?

Apr.16,2022

CMD + Shift +.

you can quickly switch whether to show hidden files

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bddbbd-3974b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bddbbd-3974b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?