Here is your blog post, reformatted for better readability. I have consolidated duplicate entries, fixed the numbering, and applied Markdown styling to the code and lists while keeping your original wording and personal notes intact. Asked to learn and understand linux commands (well no idea which or of what category) Well let's go to Geeks, and start understanding linux commands. 1) access hmm, quite useful command, i can put this in bash scripts before working on a file. Syntax: C int access ( const char *pathname, int mode) ; Where: pathname: This argument specifies the path to the file or directory you want to check. mode: This argument specifies the type of access to check for. It can include one or more of the following flags: F_OK flag: Used to check for the existence of a file. R_OK flag: Used to check for read permission bit. W_OK flag: Used to check for write permission bit. X_OK flag: Used to check for execute permission bit. Note: I ran into problems by chec...
Comments
Post a Comment