Notice
Recent Posts
Recent Comments
목록cat (2)
준호씨의 블로그
linux - Hide "No such file or directory" when 'cat' nonexistent file
You can see stderr "No such file or directory" when you 'cat' none exists file $ cat nonexistent_file cat: nonexistent_file: No such file or directory If you want to hide stderr, attach 2>/dev/null after command cat nonexistent_file 2>/dev/null Tip 'grep' command has '-s' option to hide error message about nonexistent or unreadable files. -s, --no-messages Suppress error messages about nonexiste..
IT이야기
2018. 1. 23. 21:34