Author Archives: jeffrin
Groups
Forums
Register
C code Filesystem
[c] Code Segment const struct vm_operations_struct generic_file_vm_ops = { .fault = filemap_fault, + .page_mkwrite = filemap_page_mkwrite, }; Code Dissection 1.const — A C language keyword. Makes variable value or pointer parameter unmodifiable. 2.struct — A C language keyword Groups variables into a single record. 3.vm_operations_struct — A structure name. 4.generic_file_vm_ops — A structure variable. 5. …
ls ( -B option ) ( not complete )
UNIX Command $ls a1.txt a2.txt $ls . ./ ../ $cp a1.txt a1.txt~ $ls a1.txt a1.txt~ a2.txt $ls -B a1.txt a2.txt $l bash: l: command not found $ls a1.txt a1.txt~ a2.txt $ls –backup ls: unrecognized option ‘–backup’ Try `ls –help’ for more information. $ls –ignore-backups a1.txt a2.txt $
ls ( -a and -A options)
UNIX Command $ls -a . .. a1.txt a2.txt $ls -A a1.txt a2.txt $ls a1.txt a2.txt $ UNIX Explanation -a, –all do not ignore entries starting with . -A, –almost-all do not list implied . and .. computer science related Theory Drop In computing, a hidden directory or hidden file is a directory (folder) or file …
code
I am foo. http://www.beautifulwork.org/Js/foo.js
ls ( –author -l option)
UNIX Command $ls –author -l total 4 -rw-r–r– 1 jeffrin jeffrin jeffrin 0 Feb 19 22:30 a1.txt -rw-r–r– 1 jeffrin jeffrin jeffrin 2 Feb 19 22:31 a2.txt $ls -l total 4 -rw-r–r– 1 jeffrin jeffrin 0 Feb 19 22:30 a1.txt -rw-r–r– 1 jeffrin jeffrin 2 Feb 19 22:31 a2.txt $ UNIX Explanation –author with -l, …
ls ( –full-time option )
UNIX Command $ls –full-time total 4 -rw-r–r– 1 jeffrin jeffrin 0 2012-02-19 22:30:38.000000000 +0530 a1.txt -rw-r–r– 1 jeffrin jeffrin 2 2012-02-19 22:31:00.000000000 +0530 a2.txt $date Sat Feb 25 01:17:27 IST 2012 $date -R Sat, 25 Feb 2012 01:19:41 +0530 $ UNIX Explanation –full-time like -l –time-style=full-iso computer science related Theory Drop In computer science and …