About This Club
Many are getting sick and tired of Windows. This is to help you get comfortable with Linux and Mac terminal since its linux.
- What's new in this club
-
I use a terminal program on my Mac called zoc by emtec and in comparison to all the other program terminals I have used, its by far the best all around program. With mac I have tried iTerm2 (garbage and very feature less), MacTerm, In your home directory (so I just type cd and press enter which bring me there) I type vi .bash_profile and my bash profile looks like the one below which gives me color. Its really about the PS1 command mainly. # .bash_profile if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/.local/bin:
-
Okay today, having a bad day. Tried to do an yum update and it locked out my user account. dhosang@usdet1lvdwb001:$ sudo yum update -y Loaded plugins: fastestmirror, product-id, search-disabled-repos Determining fastest mirrors Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos error was 14: curl#22 - "Invalid file descriptor" * base: mirror.dal.nexril.net * centos-sclo-rh: centos.mirrors.tds.net * centos-sclo-sclo: repos.lax.layerhost.com * epel: mirror.arizona.edu * extras: centos.mirrors.tds.net * remi
-
Create custom Message Of The Day (motd) CentOS 7
rev.dennis posted a blog entry in Linux's Linux Help Blog
Yea a long title for something pretty simple So what the heck is the Message Of The Day on CentOS? Well it gives the ability to provide information to users who log into your server. FIRST we have the banner which is defined in your sshd_config sudo vi /etc/ssh/sshd_config Browse or Find Banner and mine looks like this Banner /etc/login.warn So if you open up the banner (/etc/login.warn) it looks pretty straight forward and simple which you can customize that you like ************************************************************* ** NETWORK TEAM JU -
dnf conflicts with file from package
rev.dennis replied to rev.dennis's topic in Linux's Linux Discussions
sudo dnf remove --duplicates Tried again: sudo dnf install 'dnf-command(config-manager)' --allowerasing Running transaction check Error: transaction check vs depsolve: (flatpak-selinux = 1.6.2-3.el8_2 if selinux-policy-targeted) is needed by flatpak-1.6.2-3.el8_2.x86_64 rpmlib(RichDependencies) <= 4.12.0-1 is needed by flatpak-1.6.2-3.el8_2.x86_64 To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'. You probably have corrupted RPMDB, running 'rpm --rebuilddb' might fix the issue. The downloaded packages were saved in cache until the next successf -
dnf conflicts with file from package
rev.dennis replied to rev.dennis's topic in Linux's Linux Discussions
Total 1.3 MB/s | 755 MB 09:36 Running transaction check Error: transaction check vs depsolve: (flatpak-selinux = 1.6.2-3.el8_2 if selinux-policy-targeted) is needed by flatpak-1.6.2-3.el8_2.x86_64 rpmlib(RichDependencies) <= 4.12.0-1 is needed by flatpak-1.6.2-3.el8_2.x86_64 To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'. You probably have corrupted RPMDB, running 'rpm -
When I try and run sudo dnf update I get a bunch of errors that state ... conflicts with file from package ... So in researching the wonderful world of the web I found a suggestion to check for duplicates and if running the following command produces any results, you are in a bad way. sudo dnf repoquery --duplicated [dennis@net1 ~]$ sudo dnf repoquery --duplicated Extra Packages for Enterprise Linux 8 - x86_64 0.0 B/s | 0 B
-
My ex is coming after me again for more money so I went to my QNAP drive for my archived records and saw most of the files had this .muhstik at the end of the file. I tried to open the file and the computer doesn't know what application to open .muhstik type files with. You can't do anything with these files since they are "encrypted" (so just give up trying to rename or use malware or antivirus programs. I've tried with no success) So somehow the Ransomware has infected the QNAP (which mind you its typically just QNAPs, not found on other NAS devices, just QNAP which makes me thin
-
-
-
-
-
-
-
-
-
-
Automatically Delete old files from directory
rev.dennis posted a blog entry in Linux's Linux Help Blog
I'm currently using some syslog-ng servers as a collector(destination) for my F5 devices logs and then Splunk reads those syslog-ng servers and ingests the data. Well as you can imagine, these files get pretty huge on these syslog-ng servers and if you don't keep your eye on it the /logs/ directory/partition gets full on our redhat Linux servers. So the best solution is to run a job daily to remove files older than two days and how I do that is shown here. First you identify the directory and in my case its /logs/ Next you determine how old do you want to keep the files and in my c -
First I want to mention I installed Linux Mint 19 on a Mac running Catalina (10.15.5) using Parallels Desktop 15 for Mac Pro Edition and it would not update no matter what we did. Aptitude repositories would not install no matter what. After messing with all the suggestions from multiple forums I gave up and went to reliable Ubuntu (the god father of Linux.. lol). It is always reliable and works no matter if I install it on a laptop, virtual machine or a server. Reason I don't like Ubuntu is the bloatware.. just seems slower than other distro's but when it always works you wonder why you
-
-
Version 1.1.0
4 downloads
GNOME Partition Editor for creating, reorganizing, and deleting disk partitions. It uses libparted from the parted project to detect and manipulate partition tables. Features Create partition tables (e.g., MSDOS, GPT) Create, delete, copy, resize, move, check, set new UUID, or label partitions Manipulate btrfs, ext2/3/4, f2fs, FAT16/32, hfs/hfs+, linux-swap, luks, lvm2 pv, nilfs2, NTFS, reiserfs/4, udf, ufs, and xfs file systems SOURCE: https://sourceforge.net/projects/gparted/ -
First it would be helpful to get a list of users that are already on your Linux box. Get a List of All Users using the /etc/passwd File Local user information is stored in the /etc/passwd file. Each line in this file represents login information for one user. less /etc/passwd Below is an example $ less /etc/passwd root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin daemon:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown halt
-
Test firewall not blocking traffic
shadowmac commented on wildweaselmi's blog entry in Linux's Linux Help Blog
3 way Handshake Troubleshooting With tcpdump We are able to confirm routing, firewall rules, and remote service response by looking at the type of packet that comes back: tcpdump 'tcp[13] & 2!=0' SYN messages tell us that at least our client is sending it’s initial outbound message. If that’s all we see, then nothing is coming back and routing could be bad, or the remote server could be down. tcpdump 'tcp[13] & 16!=0' ACK is the acknowledge message. We can see that the traffic is going all the way to and from the client/server and the server is responding. tcpdump 'tcp[1 -
-
From the album: general images
-
From the album: general images
-
Upcoming Events
No upcoming events found -
Newsletter