In-RAM filesystem to speed up file handling and reduce disk load (tmpfs)
Posted by Alex On September 5, 2024
Table of contents 1. What is tmpfs 2. What can tmpfs be used for 3. How to use tmpfs 4. Interface (script) for working with tmpfs (virtual memory filesystem) 4.1 Download the script for working with tmpfs (tmpfs-mounter) 4.2 tmpfs-mounter options 4.3 tmpfs-mounter usage examples Conclusion This guide will tell you about tmpfs: how to […]
Hashtables in PowerShell (strings that start with @) (complete guide)
Posted by Alex On September 4, 2024
Table of Contents 1. What are Hashtables in PowerShell 2. What are hashtables used for? 1) Storing data 2) Cmdlet options 3) Formatting output 4) Converting to JSON 3. Syntax for creating hashtables 4. Why the order of keys is not maintained in the hashtable. How to create an ordered hashtable 5. How to output […]
An analogue of cd and chdir in PowerShell. How to change the current working folder in PowerShell
Posted by Alex On September 4, 2024
Why change the working folder in the command line The current folder (or working folder) is the location in the file system where the user is located when working in the Terminal. Strictly speaking, each running process has its own working folder (at startup, it coincides with the folder where the file or script that […]
How to clear the terminal window in PowerShell. Analog of clear
Posted by Alex On September 3, 2024
When debugging cmdlets and options, so that previously output data does not fall into the field of view and does not mix with the results of the last command, or if for other reasons you want to delete everything that the command line utilities output, then you can use this instruction. We will consider such […]
How to find out the current directory in the Windows command line. Analog of pwd in PowerShell
Posted by Alex On September 3, 2024
What is the current and working directory in Windows The current directory or working directory is a folder relative to which the names of files whose path is specified relative or not specified at all are determined. Let's say the current directory is the folder “C:\Users\MiAl”. Therefore, if I create a file test.txt without specifying […]
How to remove the header from the output table in PowerShell and leave only the data
Posted by Alex On September 3, 2024
Most likely, you do not need to remove the table header Before I tell you how to remove the header (column names) from the data output by a cmdlet and leave only the data itself, it is important to note that PowerShell is quite different from other programming languages in terms of output data. While […]
How to run a program from Python: how to run a system command or another Python script (complete guide)
Posted by Alex On September 2, 2024
Table of Contents 1. The subprocess module in Python 2. How to pass arguments to a program in subprocess.run 3. Getting the result of command execution (standard output, stdout)) 4. Working with the standard error (stderr) 5. Automatic command splitting into a list of arguments 6. How to run a command with wildcards 7. Calling […]
The best free AI software for maximum productivity
Posted by Alex On August 28, 2024
Table of contents Free AI computer software ChatALL GodMode Noi Chatbox DialogCraft AI Gate GPT Anywhere OneGPT 1. Free AI computer software This article features the best AI computer software. With these programs, you can simultaneously make requests and communicate with various AI chatbots, generate images, learn programming, and much more! If you are interested […]
Command line tools for working with AI Chatbots
Posted by Alex On August 23, 2024
Table of Contents Free and open source chatbot software Terminal GPT (tgpt) Chatblade chatGPT-shell-cli ShellGPT ΦωΦ (python-owega) shellChatGPT openai-cli pdfgpt AIChat AIChatNG air (AI in Rust) ChatGPT-CLI (gpt-chatbot-cli) GPTO (Geppetto) GPTScript gpt-cli Ruby OpenAI BashSenpai 1. Free and open source chatbot software For AI chatbots (like ChatGPT), there are official web interfaces, integrations into various […]