Computing
Computers and information management topics
- Details
- Written by John Button
- Category: Computing
- Hits: 2710
dmidecode is a tool for dumping a computer’s DMI (some say SMBIOS) table contents in a human-readable format. Generally this will include all the important hardware in the computer.
lspci is a utility for displaying information about all PCI buses in the system and all devices connected to them. In particular, lspci -vvv can be very useful displaying information about many hardware items in the computer.
Some other basic commands that provide information on the hardware Linux is running on.
Read more: Show hardware system information without opening the case
- Details
- Written by John Button
- Category: Computing
- Hits: 2782
Use the update-alternatives command.
In a terminal window and type in the following command:
sudo update-alternatives --config editor
Here's an example of what you'll see:
$ sudo update-alternatives ––config editor
There are 5 alternatives which provide `editor'.
Selection Alternative
––––––––––––––––––––
1 /usr/bin/vim
2 /bin/ed
*+ 3 /bin/nano
4 /usr/bin/vim.basic
5 /usr/bin/vim.tiny
Press enter to keep the default[*], or type selection number:
- Details
- Written by John Button
- Category: Computing
- Hits: 2609
If the network hardware or virtual environment (NIC) changes mac number Ubuntu will reserve the prevously used device name and assign the next higher device number to the "new" hardware.
For example, a machine with one NIC assigned eth0 changes the NIC hardware. On the next reboot, Ubuntu will reserve eth0 for the missing hardware and assign the new NIC as eth1.
To fix this and reset Ubuntu's memory so that the new hardware is assigned eth0, remove the file /etc/udev/rules.d/70-persistent-net.rules where the assignments are recorded.
- Details
- Written by John Button
- Category: Computing
- Hits: 2615
At installation Dovecot creates a self-signed certificate that will expire in one year. Often your server installation will be in place longer than this. So, one solution is to create a new certificate that expires in 5 years. To do so follow these instructions.
- Details
- Written by John Button
- Category: Computing
- Hits: 2620
Most Adobe Flash applications that have a fullscreen mode will exit back to their original in-webpage state when the fullscreen window looses the focus (or is not the active window). This is fine on a single monitor setup but a real pain on a dual or multi-monitor system. Often the user would like to watch a Flash based movie on one monitor (e.g., Youtube) and continue working (e.g., browse the web) on another.
- Details
- Written by John Button
- Category: Computing
- Hits: 2663
Here's a few methods to determine useful information regarding install packages, files and applications on a Ubuntu Linux system.
List installed software: dpkg -l ... or ... dpkg --get-selections
Find the package(s) that include a specific file: dpkg -S <filename>
Example: dpkg -S top
List files installed from a package: dpkg -L <packagename>
- Details
- Written by John Button
- Category: Computing
- Hits: 2354
These are specified in RFC1597 and are as follows:
| Reserved Private Network Allocations | ||||
|---|---|---|---|---|
| Network Class | Netmask | Network Address | ||
| A | 255.0.0.0 | 10.0.0.0 | - | 10.255.255.255 |
| B | 255.255.0.0 | 172.16.0.0 | - | 172.31.255.255 |
| C | 255.255.255.0 | 192.168.0.0 | - | 192.168.255.255 |
Page 3 of 4