Linux

ulimit stdin,stderr,stdout 1. ulimit ulimit 用于shell启动进程所占用的资源。 可以使用该命令查看进程占用资源的情况。 使用方法:ulimit [-acdfHlmnpsStvw] [size] core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 15463 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 32768 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 15463 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited # /etc/security/limits....

Shell

pushd & popd default values eval parentheses 1. pushd & pop pushd command is used to save the current directory into a stack and move to a new directory. popd can be used to return back to the previous directory that is on top of the stack. pushd and popd work according to the “LIFO” (last in, first out) principle. To know the stack of directories use dirs and to clear entire stack use dirs -c....