Professional Documents
Culture Documents
● Kali-Linux.
vii. You can find more options for chown command by running
the command: “chmod --help”
viii. Example 4: Add sticky bit to a file using octal and symbolic
mode.
ix. Command: “chmod +t c.txt”
copyright© Binayak Prasad Gupta.
x. Command: “chmod 1777 c.txt”
xiv. When the file has execute permission, the SUID bit is
copyright© Binayak Prasad Gupta.
represented by a lower-case ‘s’. When the file does not has
execute permission, the SUID bit is represented by an
upper-case ‘S’.
xv. Example 6: Add SGID to a file using octal and symbolic
mode.
xvi. Command: “chmod g+s a.txt”
xviii. When the file has execute permission, the SUID bit is
represented by a lower-case ‘s’. When the file does not has
execute permission, the SUID bit is represented by an
upper-case ‘S’. You can find more options for chmod
command by running the command: “chmod --help”.
vii. Example 4: List the email ids whose usernames end with a
number.
viii. Command: “cat email.txt | grep -E ’.+[0-9]+@.+’”
copyright© Binayak Prasad Gupta.
ix. The above command is matched for the pattern where
there are one or more number of any characters (‘.+’’)
followed by one or more number of a numeric character
(‘[0-9]’) followed by an at symbol (‘@’) followed by one or
more number of any characters. The above command is
matched for the pattern where there are one or more
number of any characters (‘.+’’) followed by one or more
number of a numeric character (‘[0-9]’) followed by an at
symbol (‘@’) followed by one or more number of any
characters.
● Example:
vii. You can find more options for curl command by running the
command: “curl --help”
● Twenty-fourth command:” wget”
ix. You can find more options for wget command by running
the command: “wget --help”