-
Recent Posts
Categories
- Command Line FU (11)
- Comments & Announcements (1)
- Data Storage (3)
- Network Attached Storage (NAS) (3)
- IPMI (2)
- Network Attached Storage (NAS) (3)
- Google Chrome (2)
- Linux (11)
- Internals (1)
- MAC-OSX (6)
- Networking (4)
- SAMBA/SMB/CIFS (1)
- Uncategorized (1)
- VMWare (2)
- Remote Console (1)
- Windows (1)
April 2024 M T W T F S S 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 Archives
Category Archives: Linux
Cscope search results are invisible
Part of my ‘day job’ is trolling thru source code when looking for answers. My preferred mechanism, other than a recursive grep, is to use cscope Cscope is a useful tool for searching a source code tree after you build … Continue reading
Posted in Command Line FU, Linux
Leave a comment
What every Programmer *should* know about Memory
For my fellow Insomniacs out thereā¦ If you are up scrolling your phone for things around the Google-verse to read to shut off your brain so you can possibly go to sleep.. I came across this article on LWN which … Continue reading
Posted in Internals, Linux
Leave a comment
Obtain the grub boot parameters from /var/log/messages
There are times you may need to quickly confirm the grub boot parameters that were issued either at the console (or by default) This information is logged to /var/log/messages when you grep with keywords “Kernel command”
Posted in Linux
Leave a comment
Display ethernet devices on a Fedora system using the Linux Pseudo Filesystem and create a static IP Address
Encountered a fun riddle recently whereby on a Fedora 34 system I needed to locate all ethernet interfaces on a system that are obtaining a DHCP address, then after the first reboot create a static IP address. I am a … Continue reading
Modify gnome dock from the command line
To modify the gnome desktop dock (i.e. launcher or launchpad) from the command line an easy way is to perform the following: This above will add Firefox, The File Manager, Terminal, Terminator and Gnome Settings to the desktop
Posted in Linux
Leave a comment
Downloading an RPM package including all of its dependencies on Fedora
There are times when you need to fully download an RPM and all of its dependencies. However, If you have already downloaded the RPM re-downloading the RPM and all its dependencies can be very difficult. I have found the following … Continue reading
List only ethernet Network Adapters on Debian/Fedora
Sometimes you want a quick way to verify all ethernet network adapters that are seen by the kernel at boot time. I find going directly to the pseudo filesystem is the fastest. For example. Similarly, you an modify the egrep … Continue reading
Remove any potential special characters or spaces from an IP address using AWK
Got stuck earlier in an interesting regex mystery and I command-line FU’d an AWK Solution. PROBLEM I want to strip out all spaces and/or special characters from an IP address PROCESS I know how to validate an IP address no … Continue reading
Posted in Command Line FU, Linux
Tagged awk, bash, ipaddress, special characters, strip ipaddress, validate ip address
Leave a comment
Sudo password fails even though it is correct [Fedora]
Newer fedora distros keep track of authentication failure attempts. This may prevent sudo from working even though the password is correct! In this example, I verified my user ‘ben’ is in /etc/sudoers Yet when I performed a simple operation the … Continue reading
Posted in Linux
Leave a comment
Obtain list of all physical hard drives (SSD, NVMe, VDA, HDD)
I came across an issue recently whereby I had a need to display all physical hard drives on a system whether it be HDD, VHD, or SSD (NVMe) drives that were above a certain size, excluding any USB or CD-ROM/DVD … Continue reading
Posted in Linux
Leave a comment