ls ( -I option ) do not list implied entries matching shell PATTERN

UNIX Command $ls bp cfg.c cfg.h CVS gtk Makefile sample.cfg simpleproxy.c $ls -I gtk bp cfg.c cfg.h CVS Makefile sample.cfg simpleproxy.c $ls -I gtk CVS Entries Repository Root $ls -I CVS gtk main.c Makefile simpleproxy-gtk.c $ls -I cfg.c bp cfg.h CVS gtk Makefile sample.cfg simpleproxy.c $ls -I bp cfg.c cfg.h CVS gtk Makefile sample.cfg simpleproxy.c …

ls ( -i option )

UNIX Command $ls bp cfg.c cfg.h CVS gtk Makefile sample.cfg simpleproxy.c $ls -i 5448322 bp 7569479 cfg.h 5448162 gtk 925726 sample.cfg 7569478 cfg.c 5448150 CVS 8489600 Makefile 5448260 simpleproxy.c $ UNIX Explanation -i, –inode print the index number of each file Theory Drop In computing, an index-node (inode) is a data structure on a traditional …

bubble sort testing… 0.00007 Ver — 8000 No.'s related

$time php bubble.php real 0m30.911s user 0m28.362s sys 0m0.268s $time php bubble.php real 0m32.206s user 0m29.726s sys 0m0.208s $time php bubble.php real 0m30.047s user 0m28.366s sys 0m0.220s $time php bubble.php real 0m30.306s user 0m28.226s sys 0m0.248s $time php bubble.php real 0m29.819s user 0m28.258s sys 0m0.252s $time php bubble.php real 0m30.567s user 0m28.598s sys 0m0.244s $time …

__generic_file_aio_write – write data to a file

1. __generic_file_aio_write – write data to a file ssize_t __generic_file_aio_write(struct kiocb * iocb, const struct iovec * iov, unsigned long nr_segs, loff_t * ppos); iocb IO state structure (file, offset, etc.) iov vector with data to write nr_segs number of segments in the vector ppos position where to write 2. Classroom Asynchronous I/O, or non-blocking …

readelf (-a option) Displays information about ELF files

UNIX Command $cat hello.c #include main() { int d; scanf(“%d”,d); printf(“%d”,d); } $gcc hello.c $ulimit -c unlimited $./a.out 3 Segmentation fault (core dumped) $readelf -s core $readelf -a core ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2’s complement, little endian …

maps memory maps to executables and library files

1.Classroom maps Memory maps to executables and library files Get The Hang $sudo cat /proc/971/maps 00400000-00408000 r-xp 00000000 08:01 7422174 /sbin/syslogd 00607000-00608000 rw-p 00007000 08:01 7422174 /sbin/syslogd 00608000-00609000 rw-p 00000000 00:00 0 01429000-0144a000 rw-p 00000000 00:00 0 [heap] 7fd360fa5000-7fd360fb0000 r-xp 00000000 08:01 1466895 /lib/x86_64-linux-gnu/libnss_files-2.13.so 7fd360fb0000-7fd3611af000 —p 0000b000 08:01 1466895 /lib/x86_64-linux-gnu/libnss_files-2.13.so 7fd3611af000-7fd3611b0000 r–p 0000a000 08:01 1466895 …