Blog – Page 141 – POFTUT

Introduction to Linux Grep Command With Examples

grep is a tool for filtering text in Linux systems. We can get a specific text or look for a pattern. grep is a tool used daily operation by Linux administrators. We will look at simple usage types in this tutorial. Grep can be used to find a word inside a folder. Grep name came … Read more

How To Prevent Security Policy Enforced Screen Lock in Windows

We are all believe security. But sometimes security become a bottleneck for our productivity. Enterprises generally put automatic screen lock after idle time for windows operating systems by using security policy. I think this is very good enforcement because I see a lot of workers do not mind this type of security measures. But when … Read more

Installing XFCE Desktop on Ubuntu

Installing XFCE Desktop on Ubuntu

Linux is famous for its desktop environments and offers a lot of different types and style desktop alternatives. From KDE to Openbox it can be used for different needs. Xfce is one of my favorite desktop environment. Its features, performance, and hardware needs are optimum for a lot of use cases. You can get screenshots … Read more

Linux History Command Tutorial with Examples

Linux history is a function of the bash that provides previously issued commands with different options. In this tutorial we will look these options. Display History To simple list history providing history command is enough. History file is located in users home directory and named .bash_history for bash shell. $ history OR another way to … Read more

Dstat- Monitor Linux Server Performance

There are a lot of Linux server monitoring tools in the wild. They have strong and weak sides against others. To get more about Linux server monitoring dstat can be used. Features of dstat are joining information from tools like vmstat, netstat, mpstat, displaying statistics simultaneously, list ordering, exporting to CSV. How to Install dstat … Read more

10 Things To Do After Fedora Installation

Fedora is popular distribution among Linux community. I am already using Fedora too. I prefer Fedora because of its updated packages and virtualization support. If you are not using it please give a try. After installation, there are things to do in Fedora to make the user experience more smooth. These steps can be implemented … Read more

Python String Variable Type

The string is a type used to hold text data in Python programming language. We can hold name, surname, address, text or similar data in strings. There are different functions that can be used with these string data. In this tutorial, we will look at them in detail. Define String Variable Defining string is easy … Read more

How to Install Ansible and Manage Servers?

Enterprise IT needs more than traditional IT tools. Because there are different architecture and styles in IT infrastructure. In a small company one web server is enough for all but in an enterprise company, there may be 10 – 100 web servers for the department’s different needs. Here one of the most important things is … Read more

Grep and Filter IP Address In Linux

Searching IP address in a text file or a console output may become cumbersome. This little command named grep will help you in this way. Example Data We have a file or output which includes the IP address and we want to extract just IP addresses nothing other. This file is created with a nmap … Read more

How To Shuffle/Randomize Array in PHP

There are different ways to randomly select elements of an array in PHP. But recurring elements are biggest problem most of them. Here the clean and PHP library supported solution for this. We will use shuffle() function which will change the positions of the given array. Shuffle Example shuffle() function accept only single parameter which is the … Read more