Search Results for: centos - Page 5

23 tar Command Examples For Linux

The GNU tape archive command, known as ‘tar’, is used to store many different files together into a single archive file. This makes it easy to perform backups and restores of files and directories in Unix/Linux based operating systems.

The practical examples in this guide will show you how to use the tar command in all sorts of different situations.

Read more »

16 Simple cat Command Examples For Linux

The ‘cat’ command is used to read and concatenate files, printing them out to standard output.

Cat comes from the GNU Coreutils package and should be available by default in Unix/Linux based operating systems.

Read more »

21 Simple ls Command Examples For Linux

The ‘ls’ command is a standard GNU command used in Unix/Linux based operating systems to list directory contents and display information about the sub directories and files within.

The practical examples in this guide will show you how to use the ls command in all sorts of different situations.

Read more »

20 wget Command Examples For Linux

Wget is a non-interactive network downloader which can be used for downloading files in Unix/Linux. It supports the HTTP, HTTPS and FTP protocols and also has proxy support.

The wget command is quite powerful and has a lot of options available, in this guide we’ll be covering 20 of the most important wget examples that will help you learn how to best use it.

Read more »

Managing Swap Space In Linux

Swap space is an area of disk that is used to store memory to. Here we’ll take a look at managing swap space in Linux by determining what is actually using the swap space, controlling how frequently swap space is written to, and finally adding additional swap space if required.

Read more »

How To Secure Invision Power Board (IPB)

This guide will show you how to increase the security of an Invision Power Board (IPB) installation. We’ll walk through practical examples for you to follow to harden IPB, reducing your attack surface.

There are a lot of insecure default options which unless modified will put you at a higher risk of being compromised by an attacker. Here we will outline what should be modified to increase security of IPB.

Read more »

25 Useful yum Command Examples For Package Management In Linux

Yellowdog Updater Modifier (yum) is an RPM based package manager which is used to install and update packages in various Linux distributions including CentOS, RHEL and Fedora.

Yum is quite powerful as it’s capable of automatically resolving dependency issues, and is similar to other package managers such as ‘apt-get’ in Debian based distributions.

These examples should serve as a useful introduction, guide or cheat sheet style resource for how to use the yum command in Linux.

Read more »

17 Bash History Command Examples In Linux

The ‘history’ command available in Bash can be used to simply display your shell history, however there’s also a whole lot more that you can do with it, which we’ll demonstrate here.

Bash history allows us to quickly see what has been executed previously on a system, allowing you to hold users at least somewhat accountable for their actions (more on this later). It’s also useful if you’ve run something before and forgot the command, I can’t begin to tell you the number of times that I’ve done this!

Read more »

How To Mount An NFS Share In Windows Server 2016

Here we’re going to show you how to mount an NFS file share in Windows Server 2016 both temporarily and persistently so that it will automatically mount after a reboot.

There are a couple of different ways this can be done, including mapping a network drive or adding a network location, which we’ll discuss here.

Read more »

How To Install PowerShell On Linux

Earlier this month Microsoft announced that PowerShell had been open sourced and would be available for use in Linux. As a result of this, PowerShell is now available for Ubuntu 14.04 and 16.04, CentOS/RHEL 7, and macOS 10.11.

If your first thought is along the lines of “who would use this abomination?”, then you’re in good company. My best thought at who this is targeted towards is the Windows system administrator that needs to be able to manage Linux systems as they are likely already quite familiar with PowerShell and perhaps unwilling to change.

Personally I’d look at using a tool such as Puppet for managing systems running various operating systems, however here’s how you can install PowerShell in Linux should you want to take this path.

Read more »