How Do You Null a Directory in Linux?
Contents How Do I Nullify a Directory in Linux? Delete All Files Using the Find Command -Type F: Delete on Files Only. -Type D: Remove Folders Only. -Delete...
Contents
How do I nullify a directory in Linux?
Delete All Files Using the Find Command
- -type f : Delete on files only.
- -type d : Remove folders only.
- -delete : Delete all files from given directory name.
26 июл. 2019 г.
What does >/ dev null 2 >& 1 mean?
So in a sentence “1>/dev/null 2>&1” after a command means, that every Standard Error will be forwarded to the Standard Output and this will be also forwarded to a black hole where all information is lost.