Google interview question

what signal does the kill command send by default?

Interview Answers

Anonymous

1 Jan 2019

Example: chmod 0755 0 - Indicates special file permissions. 755 indicates read, write and executable permissions for User, Group and Others. Example2: chmod ugo+rwx is equilvalent to adding read, write and execute permissions to (u)ser, (g)roup and (o)thers. + is used to append file permissions. - is used to removed file permissions. Special File permissions: 0 - No special file permissions. 1 - Set Sticky bit 2 - Set SGID 4 - Set SUID

1

Anonymous

21 Jan 2019

The kill command sends a signal to a process. If you don't specify which signal to send, by default the TERM signal is sent, which terminates the process if it has been handled by the process.

Anonymous

31 May 2018

How many bits does Linux use to encrypt file permission?

2