LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   linux basic questions (https://www.linuxquestions.org/questions/linux-newbie-8/linux-basic-questions-4175672873/)

masterblade 04-09-2020 12:57 PM

linux basic questions
 
1. How would you use chmod to change permissions
on a file for all users?

2. Would the root user be able to kill every process?

3. What is the timeout period for sudo command on CentOS?

sevendogsbsd 04-09-2020 01:06 PM

No homework or certification questions please. These questions are not indicative of someone having an issue but instead of someone taking a test or doing homework...

sp331yi 04-09-2020 01:07 PM

Here's a great place to find answers

And here, too.

Go from there

crts 04-09-2020 01:14 PM

Some basic answers
 
Quote:

Originally Posted by masterblade (Post 6109649)
1. How would you use chmod to change permissions
on a file for all users?

2. Would the root user be able to kill every process?

3. What is the timeout period for sudo command on CentOS?

1. Via the Command Line Interface.

2. Perhaps.

3. Sufficient for most purposes.

Keith Hedger 04-09-2020 02:40 PM

Quote:

Originally Posted by crts (Post 6109658)
1. Via the Command Line Interface.

2. Perhaps.

3. Sufficient for most purposes.

LOL How to not answer a homework question without being rude! Nice one.

BW-userx 04-09-2020 04:40 PM

Quote:

Originally Posted by masterblade (Post 6109649)
1. How would you use chmod to change permissions
on a file for all users?

2. Would the root user be able to kill every process?

3. What is the timeout period for sudo command on CentOS?

I know I'd have a system of say, Linux/GNU, and give all of the commands needed to preform these task on that same said system to find out the answers to these questions.



1. man chmod, permissions.
2. reboot the system, or turn off the computer, that would definitely kill every process running.
3. that last one is definitely a google question just like it is written.


All times are GMT -5. The time now is 01:14 PM.