Linux: Bash Delete All Files In Directory Except Few
By Nix Craft I‘m a new Linux system user. I need to cleanup in a download directory i.e. delete all files from ~/Downloads/ folders except the following types: *.iso – All iso images files. *.zip – All...
View ArticleFedora Linux 19/20 Install Adobe Flash Player
By Nix Craft I want to use Pandora online radio on a Fedora Linux desktop. How can I install Adobe Flash Player Plugin version 11.2 with yum command on a Fedora Linux 64 bit desktop or 32 bit version...
View ArticleCentOS and RHEL 7: Install Linux, Apache, MariaDB, PHP (LAMP) Stack
By Nix Craft I am new Red Hat Enterprise Linux version 7 user/sysadmin/developer. This version made the big number change for RHEL 7/CentOS 7. How can I install LAMP (Linux, Apache, MariaDB, PHP) stack...
View ArticleFreeBSD 10: Apply Binary Updates To Keep Base System Up To Date
By Nix Craft I know keeping a FreeBSD server up to date is a very important. How can I apply binary system patches and updates to a new installation of FreeBSD 10 server? Read answer to: “FreeBSD 10:...
View ArticleLinux Redirect Error Output To File
By Nix Craft I am a new Ubuntu Linux and bash shell user. I also know how to redirect output from display/screen to a file using the following syntax: cmd > file ls > file However, some time...
View ArticleCentOS / RHEL 7: Install GCC (C and C++ Compiler) and Development Tools
By Nix Craft How do I install gnu gcc compiler and related tools such as autoconf, automake, flex, c++ compiler, and bison on a CentOS 7 or Red Hat Enterprise Linux version 7 server? Read answer to:...
View ArticleConnect To Amazon AWS EC2 Instance From a CentOS / RHEL Using SSH Client
By Nix Craft I have created/launched Amazon Machine Image (AMI) instance powered by a CentOS/RHEL/Red Hat Enterprise Linux. How can I connect to my instance using OpenSSH Linux/Unix/OSX ssh client?...
View ArticleInstall EPEL Repo on a CentOS and RHEL 7.x
By Nix Craft How do I install the extra repositories such as Fedora EPEL repo on a Red Hat Enterprise Linux server version 7.x or CentOS Linux server version 7.x? Read answer to: “Install EPEL Repo on...
View ArticleLinux / Unix logtop: Realtime Log Line Rate Analyser
By Nix Craft How can I analyze line rate taking log file as input on a Linux system? How do I find the IP flooding my Apache/Nginx/Lighttpd web-server on a Debian or Ubuntu Linux? Read answer to:...
View ArticleCentOS / RHEL 7 Restart / Stop / Start Networking Command
By Nix Craft I recently installed CentOS Linux version 7 or Red Hat Enterprise Linux version 7. How can I restart networking service using command line options? How can I start / stop and restart...
View ArticleLinux: Hide Processes From Other Users
By Nix Craft I run a multi-user system. Most users access resources using ssh client. How to stop leaking process information to all users on Linux operating systems? How do I prevent users from seeing...
View ArticleHowTo: Use ps, kill, nice, and killall To Manage processes in FreeBSD and OS...
By nixCraft I‘m a new Unix system user. How can I manage process on a FreeBSD operating systems? Read answer to: “HowTo: Use ps, kill, nice, and killall To Manage processes in FreeBSD and OS X Unix...
View ArticleCheck The Number Of MySQL Open Database Connections on Linux Or Unix-like Server
By nixCraft I‘m a new MySQL server user. My server is running on a CentOS Linux. How can I check the number of active MySQL connections on Linux based system? Read answer to: “Check The Number Of MySQL...
View ArticleHow To Install Apache, MySQL, PHP stack on FreeBSD Unix Server
By nixCraft I‘m a new FreeBSD Unix system users. How can I setup and install Apache, MySQL, PHP stack on a FreeBSD 10 based Unix server? Read answer to: “How To Install Apache, MySQL, PHP stack on...
View ArticleHow To Extract a Tar Files To a Different Directory on a Linux/Unix-like Systems
By nixCraft I want to extract tar file to specific directory called /tmp/data. How can I extract a tar archive to a different directory using tar command on a Linux or Unix-like systems? Read answer...
View ArticleHow To Install MariaDB Databases on a FreeBSD v10 Unix Server
By nixCraft I‘m a new FreeBSD unix user. How can I install MySQL and/or MariaDB database server on a FreeBSD unix based system? Read answer to: “How To Install MariaDB Databases on a FreeBSD v10 Unix...
View ArticleUnix / Linux: Initialize Dot Files Without Restarting The Current Shell Session
By nixCraft I‘m a new Linux, OS X or Unix-like system users. I’m using bash shell. I made changes to my $HOME/.profile ($HOME/.bash_profile) file. How can I restart my session without doing logout and...
View ArticleHow to Run and Execute Command When I Log Out Of Linux Session?
By nixCraft I‘m using CentOS 7 server. I need to run a command when I logout using ssh or bash shell. So in Linux and Unix-like systems, how can I run a command to execute when I log out my session?...
View ArticleHow To Change Timezone on a CentOS 6 and 7
By nixCraft I set my time zone to ‘America/New_York’ on a CentOS Linux 7 server. I want to see date and time in my timezone in log files. How can I change the current timezone from ‘America/New_York’...
View ArticleHow To Patch and Protect Linux Server Against the VENOM Vulnerability #...
By Vivek Gite A very serious security problem has been found in the virtual floppy drive QEMU’s code used by many computer virtualization platforms including Xen, KVM, VirtualBox, and the native QEMU...
View Article