Category: Linux

Linux Server Managment

How to exclude file when using scp command recursively nixCraft Updated Tutorials/Posts

I need to copy all the *.c files from local laptop named hostA to hostB including all directories. I am using the following scp command but do not know how to exclude specific files (such

Copying files in Linux

Filing papers and documents

Copying documents used to require a dedicated staff member in offices, and then a dedicated machine. Today, copying is a task computer users do without a second thought. Copying data on a computer is so trivial that copies are made without you realizing it, such as when dragging a file to an external drive.

read more

Navigating the Bash shell with pushd and popd

bash logo on green background

The pushd and popd commands are built-in features of the Bash shell to help you “bookmark” directories for quick navigation between locations on your hard drive. You might already feel that the terminal is an impossibly fast way to navigate your computer; in just a few key presses, you can go anywhere on your hard drive, attached storage, or network share. But that speed can break down when you find yourself going back and forth between directories, or when you get “lost” within your filesystem.

read more

How To Set up SSH Keys on a Linux / Unix System nixCraft Updated Tutorials/Posts

I recently read that SSH keys provide a secure way of logging into a Linux and Unix-based server. How do I set up SSH keys on a Linux or Unix based systems? In SSH for

How to check CPU temperature on Ubuntu Linux nixCraft

How do I check CPU temperature in Ubuntu Linux using a command line and GUI tools on my Thinkpad laptop or Desktop computer?One of the most common complaints is the overheating laptop, especially older models.

RHEL / Centos 6 – Install Nginx Using Yum Command nixCraft Updated Tutorials/Posts

How can I install Nginx web server On CentOS Linux 6 or Red Hat Enterprise Linux 6 using the yum command? nginx is a free and open-source high-performance web server. This page shows how to

Navigating the filesystem with relative paths at the command line

Blue folders flying in the clouds above a city skyline

If you’re on your way to work, but you stop by a deli for breakfast first, you don’t go back home after breakfast so you can restart your journey. Instead, you continue from where you are because you understand where your office is located relative to your current location. Navigating your computer is the same way. If you change your working directory in a terminal to a subdirectory, such as Pictures, you don’t necessarily have to go home again just to make your way into Documents. Instead, you use a relative path.

read more

Protect your privacy on the internet

A keyboard with privacy written on it.

The idea that internet privacy is important only if you have something to hide is a misconception, says Nathan Handler. Privacy is something we should all care about to protect ourselves and the people we communicate with, whether or not we’re doing anything wrong or embarrassing, he says.

read more

Linux permissions 101

Penguins

Understanding Linux permissions and how to control which users have access to files is a fundamental skill for systems administration.

This article will cover standard Linux file systems permissions, dig further into special permissions, and wrap up with an explanation of default permissions using umask.

read more

How to install htop on Ubuntu Linux using apt nixCraft

I like htop output, but it is not installed by default on my Ubuntu cloud server. How do I install htop on Ubuntu Linux 18.04 LTS server?Htop is a free and open source ncurses-based process

Linux / Unix whereis Command Examples nixCraft Updated Tutorials/Posts

I am a new Linux and Unix-like system command line user. How do I find and locate the binary, source, and manual page files for a given command?You need to use the whereiscommand to find

How to install Ansible on Ubuntu 18.04 for IT automation nixCraft Updated Tutorials/Posts

How do I install Ansible on Ubuntu 18.04 workstation? How can I set up and test Ansible playbooks using my Ubuntu Linux desktop?Ansible is an open source and free configuration management IT tool. It is

From e-learning to m-learning: Open education's next move

A person looking at a phone

“Access to computers and the Internet has become a basic need for education in our society.”?U.S. Senator Kent Conrad, 2004

I spent seventeen years working in higher education, both as a campus technology leader and as an adjunct professor. Today, I continue as an adjunct professor. I know firsthand that educational technology is invaluable to the teaching and learning mission of universities—and that it changes at a rapid pace.

read more

How to install curl command on Ubuntu Linux nixCraft Updated Tutorials/Posts

I am a new Ubuntu Linux user. I switched from Apple MacOS/Macbook and I am trying to run the curl command from a shell script but getting the following error:bash: curl: command not foundHow do

Linux Monitor Hard Disks Temperature With hddtemp nixCraft Updated Tutorials/Posts

There is an excellent little utility to monitor hard drive temperature. Most modern computer hard disk including SSD comes with S.M.A.R.T (Self-Monitoring, Analysis, and Reporting Technology). It is a monitoring system for computer hard disks

16 essentials for sysadmin superheroes

Captain Marvel toy fighting

You know you’re a sysadmin if you are either knee-deep in system logs, constantly handling user errors, or carving out time to document it all along the way. Yesterday was Sysadmin Appreciation Day and we want to give a big “thank you” to our favorite IT pros. We’ve pulled together the ultimate list of tasks, resources, tools, commands, and guides to help you become a sysadmin superhero.

read more

How to check disk space on Unix servers nixCraft

I recently switched from a Windows server 2016 to a FreeBSD Unix server. I need to check disk space on Unix command line. How do I find out disk space utilization information using the Unix

How to install snapd on Fedora Linux system using dnf command nixCraft Updated Tutorials/Posts

How do I install snapd on Fedora Linux to run and manage snaps?Snaps are nothing but Linux software packages in containers format. They are simple to create and easy to install on Fedora Linux. Many

What does it mean to be a sysadmin hero?

Open Force superhero characters

Sysadmins spend a lot of time preventing and fixing problems. There are certainly times when a sysadmin becomes a hero, whether to their team, department, company, or the general public, though the people they “saved” from trouble may never even know.

Enjoy these two stories from the community on sysadmin heroics. What does it mean to you?

read more

Using the NGINX Plus Ingress Controller for Kubernetes with OpenID Connect Authentication from Azure AD

NGINX Open Source is already the default Ingress resource for Kubernetes, but NGINX Plus provides additional enterprise‑grade capabilities, including JWT validation, session persistence, and a large set of metrics. In this blog we show how to use NGINX Plus to perform OpenID Connect (OIDC) authentication for applications and resources behind the Ingress in a Kubernetes environment, in a […]

Read More…

The post Using the NGINX Plus Ingress Controller for Kubernetes with OpenID Connect Authentication from Azure AD appeared first on NGINX.