dpkg get installed package version
$ dpkg -s| grep '^Version:'
Here is what the above code is Doing:
1. dpkg -s
2. grep ‘^Version:’ : This command will filter the output of the above command and will give you only the version of the package.
$ dpkg -s| grep '^Version:'
Here is what the above code is Doing:
1. dpkg -s
2. grep ‘^Version:’ : This command will filter the output of the above command and will give you only the version of the package.
git branch experimental Here is what the above code is Doing: 1. git branch experimental – Creates a new branch called experimental 2. git checkout experimental – Switches to the experimental branch 3. git commit -m “Started work on a new feature” – Creates a new commit on the experimental branch 4. git checkout master…
echo ‘export PATH=$PATH:~/Library/Android/sdk/platform-tools/’ >> ~/.bash_profile source ~/.bash_profile adb devices Here is what the above code is Doing: 1. Downloading the Android SDK tools 2. Unzipping the Android SDK tools 3. Moving the Android SDK tools to the /usr/local/bin directory 4. Adding the Android SDK tools to the PATH variable 5. Adding the Android SDK platform-tools…
git rebase –continue | –skip | –abort | –edit-todo Here is what the above code is Doing: 1. git rebase -i HEAD~3 2. git rebase –continue 3. git rebase –skip 4. git rebase –abort 5. git rebase –edit-todo
sudo pacman -Sy npm Here is what the above code is Doing: 1. Install the npm package manager. 2. Install the create-react-app package. 3. Create a new React app called my-app. 4. Change directory into the new app. 5. Start the development server.
sudo apt-get install python3-kivy Here is what the above code is Doing: 1. We import the kivy module. 2. We create a class called MyApp, which inherits from the App class. 3. We create a method called build, which returns a Label widget. 4. We create an instance of the MyApp class. 5. We call…
cd /etc/apache2 apache2ctl configtest Here is what the above code is Doing: 1. We’re changing the directory to /etc/apache2. 2. We’re running the apache2ctl configtest command.