←September→
Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
|
|
|
|
|
|
|
Sat, Sep 07, 2024 9:58 pm
Locating DHCP servers on a LAN from a Microsoft Windows system
If you need to determine the
IP addresses of
systems on a
local area network (LAN) that are functioning as
Dynamic Host Configuration Protocol (DHCP) servers, one tool that you
can use on systems running a Microsoft Windows operating system is
dhcptest, developed
by
Vladimir Panteleev, aka
CyberShadow, a
Moldovan developer.
He provides a compiled version of the program for Windows systems at
dhcptest — there are
32-bit and
64-bit versions
of the program there.
When you open the program, type d
to have the program send
a DHCP discover packet, which should result in responses from DHCP servers
on the LAN. You can type Ctrl-C
or q
to quit
the program.
[ More Info ]
[/network/dhcp]
permanent link
Sat, Aug 31, 2024 7:44 pm
Switching to the sent folder in Mutt
If you are in the
Mutt email
program and wish to switch to another folder, such as the one containing your
sent email, you can hit the
c
key, which is shorthand for
ChDir
, which will provide the prompt
Open mailbox ('?' for
list):
. You can type the name of the folder, e.g.,
sent
to
change the currently displayed folder. If you wish to go immediately to the
sent folder when opening mutt you can use the
-f
option, i.e.,
mutt -f sent
.
[/network/email/clients/mutt]
permanent link
Fri, Aug 30, 2024 3:01 pm
Starting the Windows Fax and Scan utility from a command line interface
If you wish to start the
Windows Fax
and Scan program, which allows you to fax or scan documents via a
fax machine or scanner attached to a system running the Microsoft Windows
operating system, from a
command-line
interface (CLI), you can do so by
opening a command prompt window
or a
PowerShell window
and typing the command
wfs
and then hitting
Enter.
There are a few command line parameters you can enter when staring the
program from the command line. E.g., you can enter
wfs /swtich fax
to start the program with its faxing interface;
wfs /switch scan
is the alternative for starting with the
scanning option. Without those, the application will start in the last used
mode. For other possible arguments to the app, see
Windows Fax And Scan Command Line Options?
[/os/windows/utilities]
permanent link
Sat, Jul 06, 2024 10:07 pm
Installing Private Internet Access (PIA) VPN software on an Ubuntu system
To install Private Internet
Access (PIA)
Virtual
Private Network (VPN) software on an
Ubuntu Linux system,
download the .run file from
Download
the Best VPN for Linux in 2024 — Set Up in Minutes. Change the
permissions on the file with the
chmod command to make it executable
then execute the .run file.
$ chmod +x pia-linux-3.5.7-08120.run
$ ./pia-linux-3.5.7-08120.run
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing Private Internet Access 100%
=================================
Private Internet Access Installer
=================================
Installing PIA for x86_64, system is x86_64
[sudo] password for jim:
✔ Added group piavpn
✔ Added group piahnsd
✔ Copied Private Internet Access files
✔ Allow non-root /opt/piavpn/bin/pia-unbound to bind to privileged ports
✔ Created var folder
✔ Installed icon
✔ Created desktop entry
✔ Set wgpia interface to be unmanaged
✔ Created piavpn service
Created symlink /etc/systemd/system/multi-user.target.wants/piavpn.service → /etc/systemd/system/piavpn.service.
✔ Started piavpn service
$
You will then see a window where you can establish a VPN connection
or take a tour of the software.
[/network/vpn]
permanent link
Fri, Jul 05, 2024 8:57 pm
Selecting an Audio Track Language When Playing a Video with Windows Media Player
If you have a video file with multiple language audio tracks stored within it
and need to change from the default audio track, say Italian, to another track,
e.g., English, you can do so on a Microsoft Windows system, such as a Windows
11 system, using the default audio-video application that comes with
the Windows 11 operating system,
Windows Media
Player (WMP) 2022. To change the language for a video that contains multiple
language audio tracks, move the mouse pointer to the first icon on the right
at the bottom of the Windows Media Player window (it is a rectangle with a few
short horizontal lines at the bottom of the rectangle); you should see
"Languages and subtitles (Ctrl+L)" appear when you move the mouse pointer
to it.
Or you can just hit Ctrl-L, i.e., the Ctrl and
L keys simultaneously, to bring up the option to select the
language for the audio associated with the video.
The menu that appears that allows you to pick a language
also allows you to choose a subtitle file, such as a .srt
file, if you have one for the video.
[/software/audio_video/WMP]
permanent link
Mon, Jul 01, 2024 9:01 pm
Calculating a date x number of days from a specified date using Excel or Calc
If you wish to know the day, month, and year of a date in the future or past
that is
x number of days from before or after today or some specified
date, you can perform the calculation in
spreadsheet programs
such as
Microsoft Excel,
or the
free and
open-source software (FOSS) programs
LibreOffice Calc
and
OpenOffice Calc,
by placing a date in a cell and then using addition or subtraction on that date
to determine the desired date. E.g., if you place
7/1/2024
for
July 1, 2024 in cell A1, you could use the formula
=A1 + 280
in
cell A2, if that cell is specified with a date format (you can right-click on
the cell and choose
Format Cells to verify a date format is selected
for the cell) to calcuate the date that is 280 days from July 1, 2024. You
would then see
4/7/2025
for April 7, 2025 in cell A2, if you use
the month/day/year format for the date in cell A2. Or you could put the formula
=A1 - 280
in the cell to determine the date that was 280 days
before, i.e., 9/25/2023.
[/software/office]
permanent link
Sun, Jun 30, 2024 9:12 pm
Determining the version of a PDF document
If you have a Portable Document
Format (PDF) file and wish to determine the version of the PDF standard
used for the document, that information is stored in the first line of the
file. You can open the file with a
text editor, such
as the Windows
Notepad application on a Microsoft Windows system and view
the first line to determine the PDF version used for the file.
You will see %PDF-x.y
where x.y is the
version of the PDF standard used in the creation of the file,
e.g., %PDF-1.7
for version 1.7.
On a Microsoft Windows system, you could also open a
PowerShell window (you can type PowerShell
in the Windows Search field and click on the
application when you see it returned in the list of
results) and use the Get-Content
cmdlet
and the -First
parameter followed by the number one.
E.g.:
PS C:\> Get-Content "July 2024 Newsletter.pdf" -First 1
%PDF-1.7
PS C:\>
Related:
-
PowerShell Get-Content equivalents to Linux head and tail commands
Date: March 22, 2024
[/os/windows/PowerShell]
permanent link
Fri, Jun 28, 2024 9:17 pm
Mirroring Disks with Windows Disk Management
I added two Western
Digital 10 TB hard disk drives to a Windows 11 system.
I wanted to have the second hard disk drive (HDD) mirror the first, which
is a
Redundant Array of Independent Disks 1 (RAID 1) configuration. You
can configure Windows to mirror the drives using the Disk Management utility
that comes with the Microsoft Windows operating system. To run the
utility, you can
open a command prompt with
administrator privileges and then type diskmgmt.msc
and hit Enter. You will then see a window showing all the drives
attached to the system. In this case, the new 10 TB drives are shown as
"unallocated", since they have not been partitioned and formatted yet.
[ More Info ]
[/os/windows]
permanent link
Mon, Jun 24, 2024 10:30 pm
Installing OpenSSH server software on an Ubuntu Linux system
To set up an
Ubuntu
Linux system as a
Secure
Shell (SSH) server, you can take the following steps:
- Open a terminal window.
- In the terminal window, issue the command
sudo apt-get install openssh-server
.
- Enable and start the ssh server service by
issuing the command
sudo systemctl enable ssh --now
.
If you wish to enable the service, but not start it immediately, you
can omit the --now
at the end of the command, i.e., you
can use sudo systemctl enable ssh
and then later issue
the command sudo systemctl start ssh
to start the service.
[ More Info ]
[/os/unix/linux/ubuntu]
permanent link
Sun, Jun 23, 2024 7:19 pm
Determining the version of an installed package on an Ubuntu Linux system
If you wish to view information for a
package installed
on an Ubuntu Linux system,
you can use the command apt show packageName
or
dpkg -s packageName
where packageName is the
name of the relevant package. If you are only interested in the version number
for a package, you can
pipe the output
of either command into the grep
command.
$ apt show net-tools
Package: net-tools
Version: 1.60+git20181103.0eebece-1ubuntu5
Priority: optional
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: net-tools Team <team+net-tools@tracker.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 819 kB
Depends: libc6 (>= 2.34), libselinux1 (>= 3.1~)
Homepage: http://sourceforge.net/projects/net-tools/
Task: ubuntukylin-desktop
Download-Size: 204 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
Description: NET-3 networking toolkit
This package includes the important tools for controlling the network
subsystem of the Linux kernel. This includes arp, ifconfig, netstat,
rarp, nameif and route. Additionally, this package contains utilities
relating to particular network hardware types (plipconfig, slattach,
mii-tool) and advanced aspects of IP configuration (iptunnel, ipmaddr).
.
In the upstream package 'hostname' and friends are included. Those are
not installed by this package, since there is a special "hostname*.deb".
$ apt show net-tools | grep "Version:"
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Version: 1.60+git20181103.0eebece-1ubuntu5
$ dpkg -s net-tools
Package: net-tools
Status: install ok installed
Priority: important
Section: net
Installed-Size: 800
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: foreign
Version: 1.60+git20181103.0eebece-1ubuntu5
Depends: libc6 (>= 2.34), libselinux1 (>= 3.1~)
Description: NET-3 networking toolkit
This package includes the important tools for controlling the network
subsystem of the Linux kernel. This includes arp, ifconfig, netstat,
rarp, nameif and route. Additionally, this package contains utilities
relating to particular network hardware types (plipconfig, slattach,
mii-tool) and advanced aspects of IP configuration (iptunnel, ipmaddr).
.
In the upstream package 'hostname' and friends are included. Those are
not installed by this package, since there is a special "hostname*.deb".
Homepage: http://sourceforge.net/projects/net-tools/
Original-Maintainer: net-tools Team <team+net-tools@tracker.debian.org>
$ dpkg -s net-tools | grep "Version:"
Version: 1.60+git20181103.0eebece-1ubuntu5
$
Another command that will show you the installed version of a package
on a Ubuntu systems is apt-cache policy packageName
.
$ apt-cache policy net-tools
net-tools:
Installed: 1.60+git20181103.0eebece-1ubuntu5
Candidate: 1.60+git20181103.0eebece-1ubuntu5
Version table:
*** 1.60+git20181103.0eebece-1ubuntu5 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
100 /var/lib/dpkg/status
$
[/os/unix/linux/ubuntu]
permanent link
Privacy Policy
Contact