Linux Links

Linux Basic Commands - https://likegeeks.com/main-linux-commands-easy-guide/​ Command Line Tricks - https://dzone.com/articles/most-useful-linux-command-line-tricks​

Continue Reading

CentOS 7 Users

Add a user named Bob: useradd Bob Change Bob’s password: passwd Bob Change your own password: passwd Add a group named Team: groupadd Team Add a group named Team with…

Continue Reading

CentOS Systemctl

Determine default target: systemctl get-default Change to a new target, this example reboots: systemctl isolate reboot.target Valid targets: poweroff.target Rescue.target Multi-user.target Graphical.target Reboot.target See all available units: systemctl list-units (Or…

Continue Reading

CentOS 7 Booting and Recovery

At GRUB prompt, edit the boot option and add one of the following options, depended on desired effect: systemd.unit=rescue.target (Launches recovery shell. Must know root password.) systemd.unit=emergency.target (Only mounts root…

Continue Reading

CentOS 7 Networking

Shut down an interface: ifdown ifname Start an interface: ifup ifname Get list of interfaces: ip link show Get IP address information: ip address show Restart all networking: systemctl restart…

Continue Reading

CentOS 7 Misc

Get Help: Find helpfiles for a command: man commandname Update manfile database: mandb (as root) Search all helpfiles: apropos keyword Search Info files: info command; pinfo command Edit textfiles: Always…

Continue Reading

CentOS 7 Firewall

Service name: firewalld (should not be used at the same time as iptables) GUI firewall config tool: firewall-config List all rules: firewall-cmd -–list-all Permanently allow a service, from any: firewall-cmd…

Continue Reading

sudoers

So you want to add an Active Directory group to sudoers?  Below is a very basic way of accomplishing just that. visudo -f /etc/sudoers.d/sudo_adadmin You should always use visudo for…

Continue Reading
  • 1
  • 2
Close Menu
×
×

Cart