ex: $ sort -t $'\t'
$ echo -n $'\t'
$ echo -e ' \t ' | hexdump -C
00000000 20 09 20 0a | . .| 00000004
grep -rnw '/path/to/somewhere/' -e 'pattern'
-r or -R is recursive,-n is line number, and-w stands for match the whole word.-l (lower-case L) can be added to just give the file name of matching files.grep -rnw '/path/to/somewhere/' -e 'if \['
zip --encrypt file.zip files
zip --password (password) file.zip files
unzip -P (password) file.zip
$? so you can store or display it.$ ./a.out
$ echo $? # note - after this command $? contains the exit code of echo!
$ ./a.out
$ exit_code=$? # save the exit code in another shell variable.
#include <sys/stat.h>
struct stat sb;
if (stat(pathname, &sb) == 0 && S_ISDIR(sb.st_mode))
{
...it is a directory...
}