I Command You, sudo
Show Me the .txt
Please Manage My Users
All My Processes
Who "switch"ed it
100

The sudo command allows you to run certain commands with "elevated" previlages in the same group as this user.

What is root?

100

The full command to concatenate the standardout.txt contents to the bottom of a file named somefile.txt

What is cat standardout.txt >> somefile.txt

100

It is the numeric value for this rwx rwx rwx

What is 777

100

It's what pid stands for in Linux

What is Process ID

100

The -v in most commands makes it do this.

What is run in verbose mode

200

It's the location that shows who can run sudo level command. Full path please

What is /etc/sudoers or /etc/sudo

200

Linux treats all files as text files, to make it executable however this will need to be the very first line.

What is #!/bin/bash

200

This is the command to set or change permissions on a file or directory

What is chmod

200

To list any process running or stopped name sleep, call this command.

What is 

ps -ef | grep sleep

200

It's what -al produces when added to the ls command

What is long list all file (including the hidden ones)

300

The sudo command to add the user Sharkman

What is sudo adduser Sharkman

300

You need this key sequence to complete and save your text edit session when using vi or vim

What is esc :wq!

300

It is the alpha symbols for this these values. 704

Daily Double!!!

What is rwx --- r--

300

To run a process in the background, add this at the end of the command call

What is the &

300

It's the -r in the command call rm -r /somedir

Daily Double !!

What is recursively remove all files and directories in the directory /somedir

400

The command that allows you to make changes to the /etc/sudoers file by opening the file in a text editor and checking your changes for syntax

What is visudo or (nano, vi, vim /etc/sudoers)

400

If you want to create empty files in any given directory, reach out and connect with this command

Daily Double !!!

What is touch

400

User denotations are:

u user/owner 

g for group

o for other

and this

What is a for all

400

If you see this below, more than like you typed this command

Daily Double!



What is jobs

400

It is the -f in the following command call tail -f somefile.log

What is display the last 10 lines of file and "follow" the file as it grows.

500

sudo updatedb does this


Daily Double!!!

What is creates or updates a database used by the locate command

500

This command allows you to scroll through the contents of a text file, line by line

What is less

500

This command updates groups for permissions

what is chgrp

500

To get the list of all the running processes on your Linux machine, run this command

What is top or htop

500

crontab -e allows you to do this

What is edit the cron text file.

600

If you cat out a file you do not own, you may see this error after hitting enter.

What is //permission denied

600
This command gives you the contents of a file "one screen at a time" and it wont cost you a dime.

What is the more command

600

This command is used to find out user and group names and numeric ID’s (UID or group ID) of the current user or any other user in the server

What is id

600

In the given columns for the htop command it column NI represents this.

What is 

  • NI: The nice value of the process, which affects its priority.
600

When running htop -t it will give this "branching" view of processes

what is tree (--tree)