gedit linux install suing terminal
sudo apt install gedit
Here is what the above code is Doing:
1. We’re using the sudo command to run the apt command as the root user.
2. We’re using the install command to install the gedit package.
sudo apt install gedit
Here is what the above code is Doing:
1. We’re using the sudo command to run the apt command as the root user.
2. We’re using the install command to install the gedit package.
useradd -m $username Here is what the above code is Doing: 1. We’re creating a variable called username and assigning it the value of the first argument passed to the script. 2. We’re creating a variable called password and assigning it the value of the second argument passed to the script. 3. We’re using the…
git clone https://github.com/maurosoria/dirs3arch.git ln -s $PWD/dirs3arch/dirsearch.py $CTF_ROOT/bin/dirsearch Here is what the above code is Doing: 1. Create a directory called CTF_ROOT 2. Create a directory called bin inside CTF_ROOT 3. Create a directory called tools inside CTF_ROOT 4. Clone the github repo for dirs3arch into the tools directory 5. Create a symbolic link to the…
grep -o ” fileName | wc -l Here is what the above code is Doing: 1. grep -o ‘‘ fileName -o means only print the matching part of the line ‘‘ is the string you’re searching for fileName is the file you’re searching in 2. wc -l wc is the word count command -l means…
~/$ npx npm-gui Here is what the above code is Doing: 1. We’re using the npx command to run the npm-gui package. 2. The npm-gui package is a command-line tool that will open a GUI in your browser. 3. The GUI will allow you to search for packages and install them. 4. The packages will…
// How to install Auth in laravel // With Boothstrap composer require laravel/ui –dev php artisan ui bootstrap –auth npm install && npm run dev // With VUE composer require laravel/ui –dev php artisan ui vue –auth npm install && npm run dev Here is what the above code is Doing: 1. The first line…
// Do not verify peer certificate Acquire::https::Verify-Peer “false”; // Do not verify that certificate name matches server name Acquire::https::Verify-Host “false”; Here is what the above code is Doing: 1. We are creating a new file called /etc/apt/apt.conf.d/99fixbadproxy 2. We are adding the following lines to the file: Acquire::http::Proxy “http://proxy.example.com:8080”; Acquire::https::Proxy “https://proxy.example.com:8080”; Acquire::ftp::Proxy “ftp://proxy.example.com:8080”; Acquire::socks::Proxy “socks://proxy.example.com:8080”;…