The sudo command allows you to run certain commands with "elevated" previlages in the same group as this user.
What is root?
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
It is the numeric value for this rwx rwx rwx
What is 777
It's what pid stands for in Linux
What is Process ID
The -v in most commands makes it do this.
What is run in verbose mode
It's the location that shows who can run sudo level command. Full path please
What is /etc/sudoers or /etc/sudo
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
This is the command to set or change permissions on a file or directory
What is chmod
To list any process running or stopped name sleep, call this command.
What is
ps -ef | grep sleep
It's what -al produces when added to the ls command
What is long list all file (including the hidden ones)
The sudo command to add the user Sharkman
What is sudo adduser Sharkman
You need this key sequence to complete and save your text edit session when using vi or vim
What is esc :wq!
It is the alpha symbols for this these values. 704
Daily Double!!!
What is rwx --- r--
To run a process in the background, add this at the end of the command call
What is the &
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
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)
If you want to create empty files in any given directory, reach out and connect with this command
Daily Double !!!
What is touch
User denotations are:
u user/owner
g for group
o for other
and this
What is a for all
If you see this below, more than like you typed this command
Daily Double!
What is jobs
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.
sudo updatedb does this
Daily Double!!!
What is creates or updates a database used by the locate command
This command allows you to scroll through the contents of a text file, line by line
What is less
This command updates groups for permissions
what is chgrp
To get the list of all the running processes on your Linux machine, run this command
What is top or htop
crontab -e allows you to do this
What is edit the cron text file.
If you cat out a file you do not own, you may see this error after hitting enter.
What is //permission denied
What is the more command
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
In the given columns for the htop command it column NI represents this.
What is
When running htop -t it will give this "branching" view of processes
what is tree (--tree)