If you are using Network Manager to connect to a network, then it is possible to get comprehensive networking information from the command line. This command will print a lot of information about your Network Manager configuration. [email protected]:~$ nmcli dev [email protected]:~$ nmcli dev show Show a listing of available WIFI access points. [email protected]:~$ nmcli device …

To find out what repository a package came from, use the dpkg -s command. [email protected]:~$ dpkg -s zdoom Package: zdoom Status: install ok installed Priority: optional Section: web Installed-Size: 9330 Maintainer: DRD Team <[email protected]> Architecture: amd64 Version: 2.8.1 Depends: libc6, libstdc++6, zlib1g, bzip2, libgtk2.0-0 Recommends: timidity, libfluidsynth1 Description: Advanced Doom source [email protected]:~$ dpkg -s zdoom …

The Windows in an Xorg session may easily be manipulated with this simple utility. Xdotool. This is a terminal utility to manage Xorg windows. Firstly, install this simple utility. [email protected]:~$ sudo apt install [email protected]:~$ sudo apt install xdotool Then we can resize a MATE Terminal window. xdotool search –onlyvisible –classname "gnome-terminal" windowsize %@ 500xdotool search …

Useful directory of website links on my website. The most popular and useful links Some very good GTK themes and wallpapers for your Linux desktop. How to use xrdp to remote into a Linux desktop from a Windows machine with RDP. How to crack a Windows 10 user password with Kali Linux and the john …

This simple script will spawn a jet to patrol an AO and attack any enemy vehicle or helicopter it sees. // Spawn a CAS jet to patrol the AO.   _plane = createVehicle ["O_Plane_CAS_02_F", getMarkerPos("plane"), [], 0, "FLY"]; _pilotguy = [[26761.4,24593.4,0.000909805], EAST, ["O_Pilot_F"],[],[],[],[],[],232] call BIS_fnc_spawnGroup;   ((units _pilotguy) select 0) moveInDriver _plane; _wpcas = _pilotguy …

Fetch information about a random Linux command. curl -sL commandlinefu.com/commands/random/plaintext | sed ‘3,4!d’curl -sL commandlinefu.com/commands/random/plaintext | sed ‘3,4!d’ Here is an example. ┌─[[email protected]]─[~] └──╼ $curl -sL commandlinefu.com/commands/random/plaintext | sed ‘3,4!d’ # An easter egg built into python to give you the Zen of Python echo "import this" | python┌─[[email protected]]─[~] └──╼ $curl -sL commandlinefu.com/commands/random/plaintext | sed …

To list all the files installed by a certain Debian package, use this command. dpkg -L [PACKAGENAME]. For example. ubuntu ~ $ dpkg -L vim /. /usr /usr/bin /usr/bin/vim.basic /usr/share /usr/share/lintian /usr/share/lintian/overrides /usr/share/lintian/overrides/vim /usr/share/bug /usr/share/bug/vim /usr/share/bug/vim/presubj /usr/share/bug/vim/script /usr/share/doc /usr/share/doc/vimubuntu ~ $ dpkg -L vim /. /usr /usr/bin /usr/bin/vim.basic /usr/share /usr/share/lintian /usr/share/lintian/overrides /usr/share/lintian/overrides/vim /usr/share/bug /usr/share/bug/vim /usr/share/bug/vim/presubj …

Very useful Linux tips and tricks for the terminal userVery good find command trickInstall a very nice slim desktop on Linux Mint and UbuntuSet a locale on a Debian systemChange the Plymouth theme on ubuntuList only directories in a directory listing with lsSecurity tips for staying safe online—Start of medium level security——Measures that cost money——Start …

The bash shell has some very useful features when using the command line. This can make using the command line much faster. For example, if you forget to type sudo before a command, this can be fixed this way. jason$ fdisk -l /dev/sda fdisk: cannot open /dev/sda: Permission deniedjason$ fdisk -l /dev/sda fdisk: cannot open …

This command will capture a screenshot of the desktop and save it to the home directory. [email protected]:~$ import -window root "$HOME/$(date ‘+%y%m%d_%T’).png"[email protected]:~$ import -window root "$HOME/$(date ‘+%y%m%d_%T’).png" This is how to do this with the scrot utility. [email protected]:~$ scrot Desktop-%H:%M:%S-%d-%[email protected]:~$ scrot Desktop-%H:%M:%S-%d-%m.jpg Characters preceded by a ‘%’ are interpreted by strftime(2). See man strftime for …

Search and replace on the bash shell is very useful for various one-liner shell commands. The below example shows how to replace a # character with a * character. [email protected]:/mnt/c/Users/johnc/Documents$ cat ip.c | sed ‘s/#/*/gi;’ *include <stdio.h>   int main() { printf(".");   return 0; }[email protected]:/mnt/c/Users/johnc/Documents$ cat ip.c | sed ‘s/#/*/gi;’ *include <stdio.h> int main() …