timeshift install
sudo apt-get install timeshift
Here is what the above code is Doing:
1. We’re using the sudo command to run the apt-get command as the root user.
2. We’re using the install command to install the timeshift package.
sudo apt-get install timeshift
Here is what the above code is Doing:
1. We’re using the sudo command to run the apt-get command as the root user.
2. We’re using the install command to install the timeshift package.
echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl –system Here is what the above code is Doing: 1. Create a file called 40-max-user-watches.conf in the /etc/sysctl.d directory. 2. Add the line fs.inotify.max_user_watches=524288 to the file. 3. Reload the sysctl settings.
# Basic syntax: awk ‘BEGIN {if(condition) outcome}’ # if awk ‘BEGIN {if(condition_1) outcome_1; else outcome_2}’ # if else awk ‘BEGIN {if(condition_1) outcome_1; else if(condition_2) outcome_2}’ # if else if # Example usage: awk ‘BEGIN {if(2>3) print “1_is_true”; else print 6}’ –> 6 # For multi-line and ternary operator syntax, see source Here is what the…
git checkout origin/master [filename] Here is what the above code is Doing: 1. git checkout origin/master [filename] – This is the command that will be executed. – origin/master is the branch that we want to checkout. – [filename] is the file that we want to checkout. – The [filename] is a placeholder for the file…
# remove package only pip uninstall # remove package and dependencies pip-autoremove Here is what the above code is Doing: 1. pip-autoremove is a package that can be installed via pip. 2. pip-autoremove will remove the package and all of its dependencies. 3. pip uninstall will remove the package but not its dependencies.
Function Function-Name ($argument) { } Here is what the above code is Doing: 1. We’re defining a function called “Function-Name” 2. We’re passing an argument called “$argument” into the function 3. We’re telling the function to do something
sudo add-apt-repository ppa:pcsx2-team/pcsx2-daily Here is what the above code is Doing: 1. sudo is a command that allows you to run a command as the superuser. 2. add-apt-repository is a command that adds a repository to your system. 3. ppa:pcsx2-team/pcsx2-daily is the repository that you’re adding.