Linux – The cp command

One of the most common command to use (and need to be used) on Linux systems, especially when working on CLI only systems (with no GUI installed), is the cp (copy) command. The following section of this article will show several common and advanced ways to use cp command on Linux systems on files and folders.
Read More …

Powershell – Extract Files from ZIP Archive

Starting with PowerShell 5, cmdlets like Expand-Archive can extract the content of ZIP files to disk. However, you can always extract only the entire archive. Luckily, there are other methods to extract, not only, from .zip archives, specified files or folders, on Windows-based systems. Read More …

The Locate command (Linux)

If there is something that is quite vital, on Linux systems in CLI mode (no GUIs, no KDE or Gnome), is to have a simple way to search for specific files/folders on the filesystem. To do this we can install and use the locate utility, on Linux systems. Read More …

Take Files/Folders Ownership (Microsoft Windows)

Many organizations with a Microsoft Windows environment rely on NTFS as the main file system for their storage devices that contain sensitive data. It is the easiest way for users to work with files. In order to implement a least-privilege model, which is a best practice for system security, IT security specialists and system administrators configure NTFS access control lists (ACLs) by adding access control entries (ACEs) on NTFS file servers. Read More …

Powershell – Get Permissions on folders and/or files

Sometimes it is useful to get permissions (NTFS and/or Share) on Windows systems (Server and/or Client). The following Powershell code will generate, in the same folder in which is saved the ps1 file (once the below code is copied and saved on the system as ps1 file), a CSV file which will include all the permissions (subfolders included) set in that moment. Read More …