How to Check the Groups a User Belongs to in Linux?

All Linux operating systems are designed as multi-user operating systems. This means that they provide the capabilities and related tools to create and handle multiple users within a system. One such tool is user groups. A user group is simply a collection of users. It is handy when a system administrator wants to deal with multiple users simultaneously (especially for handling permissions). We define a rule for the group and it automatically applies to all its member users.

[mai mult...]

Create a Log File in PowerShell Script

This script can be useful for network administrators or system administrators who need to analyze log files and get an overview of how much time a particular user or IP address has spent connected to the system. To make this task easier, we can use a shell script to automate the process of extracting this information from a log file.

[mai mult...]

Disk Cleanup using Powershell Scripts

Windows users sometimes faced low disk space errors with the error “You’re running out of space on this PC. Manage storage to view usage and free up some space.” When Windows prompts low disk space warning messages, we first perform some manual steps to delete temp files which are as follows:

  • Clear temp file with disk cleanup and,
  • Clear other temp files from different locations
    • C:\Windows\Temp
    • C:\Windows\Prefetch
    • C:\Users\*\AppData\Local\Temp
[mai mult...]

Download Instagram Posts using Python Selenium module

In this article, we will learn how we can download Instagram posts of a profile using Python Selenium module. Requirements:

  • Google Chrome or Firefox
  • Chrome driver(For Google Chrome) or Gecko driver(For Mozilla Firefox)
  • Selenium package: It is a powerful tool for controlling a web browser through the program. It is functional for all browsers, works on all major OS and its scripts are written in various languages i.e Python, Java, C#, etc. In can installed using the below command:
    pip install selenium
[mai mult...]