≡ Menu

Easy

Change Shell To Bash

How do I switch from a ksh shell to bash on Linux or Unix system? How to change shells on Unix-like system?
[click to continue…]

{ 4 comments }

How to secure MongoDB on Linux or Unix production server

MongoDB ransom attacks are in Wild. I am using it for storing data on my public facing cloud server powered by Ubuntu Linux. How do I protect and secure my MongoDB nosql server on Linux or Unix operating system?
[click to continue…]

{ 0 comments }

How to change the ssh port on Linux or Unix server

I am a new Linux/Unix server admin. How do I change the SSH Port for my Linux or Unix server using command line option?
[click to continue…]

{ 0 comments }

How to assign a grep command value to a variable in Linux/Unix

How do I store grep command output in shell variable? What is the syntax to store the command output into a variable in Linux or Unix?
[click to continue…]

{ 1 comment }

Ubuntu Linux Install GNU GCC Compiler and Development Environment

How do I install GNU/GCC (C and C++) compiler and related tools (such as make, debugger, man pages) collection under Ubuntu Linux operating system using command line options?
[click to continue…]

{ 0 comments }

How to change the screenshots save file location in MacOS X

I know how to capture my whole screen or just part of it. The screenshot is automatically saved to my desktop, and it is cluttering the entire desktop with .png screenshot files. How can I change where screenshots are saved on my MacOS X system instead of the default desktop location?
[click to continue…]

{ 1 comment }

How to install wget on RHEL/CentOS 7 using yum

I am trying to download a file using ‘wget http://url’ syntax, but I am getting an error:

bash: wget: command not found

How do I fix this problem? How can I install wget on a CentOS/RHEL 7 or 6 server using yum command?
[click to continue…]

{ 1 comment }