Useful console tips for using Linux on a PC.
How to set a custom console font on your Linux console with the command line easily.
How to set a custom console font on your Linux console with the command line easily.
Some very useful tips for dpkg and apt on your Debian system. How to unpack a Debian package and other useful tips.
A Debian deb package is an archive that contains files to be installed on your system. There are ways to list the contents of a deb package before installation. Use the dpkg(1) command to achieve this easily. List all files in the deb archive. ┌─[✗]─[jason@darkstar]─[~] └──╼ $dpkg –contents brave.deb┌─[✗]─[jason@darkstar]─[~] └──╼ $dpkg –contents brave.deb List all … Read more
There are some very useful tricks that can be used to get information about packages installed on a Debian or Ubuntu machine. Here are just a few. Get a graphical view of the actual dependencies of a package such as Firefox. Firstly, install the graphviz package. jason@Yog-Sothoth:~$ sudo apt install graphvizjason@Yog-Sothoth:~$ sudo apt install graphviz … Read more
To find out what repository a package came from, use the dpkg -s command. jason@jason-desktop:~$ 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 port.jason@jason-desktop:~$ dpkg -s zdoom … Read more
This useful command will display a count of all installed packages on your Debian Linux machine. jason@ubuntu:~$ dpkg-query -l | wc -l 2027jason@ubuntu:~$ dpkg-query -l | wc -l 2027 Grepping the output to find certain packages. jason@ubuntu:~$ dpkg-query -l | grep vim ii vim-common 2:7.4.052-1ubuntu3 amd64 Vi IMproved – Common files ii vim-tiny 2:7.4.052-1ubuntu3 amd64 … Read more
This is another way to find out who your user is. bash 07:15:16 Fri Jul 05 [homer@deep-thought $ who is linux homer pts/0 2013-07-05 19:10 (:0.0)bash 07:15:16 Fri Jul 05 [homer@deep-thought $ who is linux homer pts/0 2013-07-05 19:10 (:0.0) And this command lists all logged in users on your Linux system. bash 07:15:09 Fri … Read more