Crontab time format
|——————————- Minute (0-59) | |————————- Hour (0-23) | | |——————- Day of the month (1-31) | | | |————- Month (1-12; or JAN to DEC) | … Continue reading →
|——————————- Minute (0-59) | |————————- Hour (0-23) | | |——————- Day of the month (1-31) | | | |————- Month (1-12; or JAN to DEC) | … Continue reading →
I found this information at https://forums.centos.org/viewtopic.php?t=76822 Short version – My workstation using tftp cant retrieve a file from my tftp server. Stop firewalld and it works. Solution: firewall-cmd –direct –permanent –add-rule ipv4 raw OUTPUT 0 -j CT -p udp -m … Continue reading →
You type in date on your linx box and you get Tue Sep 5 5:08:49 PM CDT 2023 but you want it to read Tue Sep 5 17:08:49 CDT 2023 To make that happen execute localectl set-locale LC_TIME=”C.UTF-8″ Log off, … Continue reading →
I have a system that runs in a environment that tends to be on the warm side. If the processor starts running at 3Ghz or higher, the processor starts some serious overheating. Applications I have running on this system do … Continue reading →
You find the following line in your messages file imjournal: filecreatemode is not set, using default 0644 This is not a critical error. To eliminate this message edit /etc/rsyslog.conf and find the line module(load=”imjournal” fileCreateMode=”644″ StateFile=”imjournal.state”) note it might be … Continue reading →
Quick Network Scan nmap -sn 192.168.0.0/24 OS detection with verbosity (-O -v) nmap -O -v 192.168.0.0/24 OS detection with verbosity and version scan (-sV -O -v) nmap -sV -O -v 192.168.0.0/24 Rogue DHCP server discovery nmap –script broadcast-dhcp-discover -e bond0 … Continue reading →
You ssh to some remote system (usually across the internet) step away from your keyboard for a few minutes, and the session gets dropped. The problem may be resolved by sending more keep alive packets You can fix this by … Continue reading →
If you are dork like me and like to see what is going on when your linux system boots (rather than a swirling circle) Excute sed s/rhgb//g -i.backup /etc/default/grub grub2-mkconfig -o /boot/grub2/grub.cfg and reboot Tested on Rocky 8
Continue reading →I have a file like the following this thing that thing this stuff that stuff I want it to read this thing that thing this stuff that stuff To fix it cat file.txt | sed ‘N;s/\nthat/ that/g’
Continue reading →I have a fedora machine set up to backup configs and information from other servers via scp. In the daily log watch report I am getting tons of Received disconnect from some.ip.add.ress port someport:11: : 1 Time For some reason … Continue reading →