Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
How to exclude specific file names using Get-ChildItem in PowerShell?
To exclude specific file(s) from being displayed in the output of Get- ChildItem, you need to specify the file name(s).CommandGet-ChildItem D:\Temp\ -Recurse -Exclude style.css, LGPO.exeOutputDirectory: D:\Temp\LGPO Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 01-06-2017 02:25 638115 LGPO.pdf Directory: D:\Temp Mode LastWriteTime Length Name ---- ------------- ...
Read MoreHow to exclude specific extension in Get-ChildItem in PowerShell?
To exclude specific extensions, you need to use –Exclude parameter in Get-ChildItem.ExampleFor example, as shown below when we run command, it will exclude .html files and display the rest.Get-ChildItem D:\Temp\ -Recurse -Exclude *.htmlOutputDirectory: D:\Temp Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 24-11-2018 11:31 LGPO Directory: D:\Temp\LGPO Mode LastWriteTime Length Name ---- ...
Read MoreHow To Configure and Set Up a Firewall on Ubuntu 16.04
In this article we will learn about – how to configure and setup UFW ( Firewall) on Ubuntu 16.04, UFW stands for Uncomplicated Firewall which acts as an interface to IPTABLES that simplifies the process of the configuration of firewalls it will be a very hard for a beginners to learns and configure the firewall rules where we will secure the network from unknown users are machines. UFW works on the policies we configure as rules.Pre-requisitesFor this, we needed a non-root user with root permission on the machine.Installing the UFW (Firewall)UFW is installed by default with Ubuntu, if not installed ...
Read MoreHow to use the wildcard character (*) in Get-ChildItem in PowerShell?
You can also search for files with a specific name or using the wildcard (*) character.CommandBelow command will search for the files (including hidden files) starting with “Bac”.Get-ChildItem D:\Temp -Recurse -Force -Include Bac*OutputPS C:\WINDOWS\system32> Get-ChildItem D:\Temp -Recurse -Force -Include Bac* Directory: D:\Temp\GPO_backup\{C9C3DB4C-2E51-4201-B3C3-7C0F1ACECBE9} Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 24-11-2018 11:34 6215 Backup.xmlCommandWhen you use the wildcard character (*) at both the ends, file ...
Read MoreHow to use Get-ChildItem in PowerShell to filter a specific extension?
To get the output of the get-childitem with a specific extension, we need to use –includeparameter.ExampleIn the below example, we will use the below script to get only .xml files.Get-ChildItem D:\Temp\ -Recurse -Include *.xmlOutputPS C:\WINDOWS\system32> Get-ChildItem D:\Temp\ -Recurse -Include *.xml Directory: D:\Temp\GPO_backup\{C9C3DB4C-2E51-4201-B3C3-7C0F1ACECBE9} Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 24-11-2018 11:34 6215 Backup.xml -a---- 24-11-2018 11:34 ...
Read MoreHow to Keep Data on a USB Flash Drive Secure
Since the dawn of humanity, we humans have been innovating and improvising the recording and storage of data. Though it may look like one of the simplest activities we humans usually practice, but storing data has been one of the most integral parts of the human existence.This is one of the most significant advantages our race possesses over every other species that have ever traversed the blue planet. The art of storing data had empowered our ancestors to share their knowledge, experiences, art and culture with us through recording their data on paintings, sculptures, monuments and books.Starting with simple strokes ...
Read MoreHow to Kill Linux Processes Using 'xkill' Command
Xkill is a utility for forcing the X server to close connections to consumers. This software is very harmful but is priceless for aborting applications.This article explains about-“How to Kill Linux Processes Using ‘xkill’ Command”.Sample Syntax of Xkill CommandThe sample syntax of Xkill command as shown below – $xkill [-option ...]Options of XkillOptions of Xkill are shown below –usage: xkill [-option ...] where options include: -display displayname X server to contact -id resource resource whose client is to be killed -frame don't ignore window manager frames -button number specific button to be pressed to select window -all kill all clients ...
Read MoreWhat is the use of -Force parameter in Get-ChildItem in PowerShell?
To display files along with hidden files, you need to use –Force parameter.CommandGet-ChildItem D:\Temp\ -ForceOutputIf you see the above output, hiddenfile.xlsx is the hidden file and same can be identified with the mode where –a-h—attribute of the file.You can also use this parameter with –Recurse or –Depth.Get-ChildItem D:\Temp\ -Recurse -Force
Read MoreHow to Make Free calls without Internet?
People having access to Wifi can easily make free and cheap calling, but what, if they do not have an internet connection. Given below is a list of a few companies which have developed clever programs which helps the users to make free calls or calls at highly reduced rates.Leveraging FreeKall ServiceFreeKall is a startup company, based in Bangalore. It is a savior for many, as it helps them to make calls even when their balance is running out on their mobile phone. The Master brain behind this startup is Yashas Sekhar, the company has received an incredible response from ...
Read MoreHow to display files/folders including hidden files/folders in PowerShell?
To display files along with hidden files, you need to use –Force parameter.CommandGet-ChildItem D:\Temp\ -ForceOutputIf you see the above output, hiddenfile.xlsx is the hidden file and same can be identified with the mode where –a-h—attribute of the file.You can also use this parameter with –Recurse or –Depth.Get-ChildItem D:\Temp\ -Recurse -Force
Read More