Dualbooting windows and linux

Dual booting arch and win11 Prerequisites Before installing arch we need to do the following things Disk partition We’ll need to make a disk partition in windows 11 before proceeding to make sure both the OS run isolated, this can be done by the following steps Right-click on the Start menu and select Disk Management. Alternatively, you can press Win + X and choose Disk Management from the list. In the Disk Management window, locate the drive you want to partition (usually the C: drive)....

July 7, 2024 · 6 min · 1257 words · Aum Pauskar

Windows scripts with powershell and cmd

Windows prompts PowerShell PowerShell is a command-line shell and scripting language built on the .NET Framework. It is the successor to the Command Prompt. Commands are called cmdlets and are written in the form Verb-Noun. For example, Get-ChildItem lists the contents of a directory. There are a few aliases for common commands, such as ls for Get-ChildItem and rm for Remove-Item. Write-Output: Prints a line in the shell New-Item: Creates a new file within the same directory Get-Content: Reads the contents of a file Set-Content: Writes the contents of a file Remove-Item: Deletes a file Get-ChildItem: Lists the contents of a directory Command Alias Description Write-Output echo Prints a line in the shell New-Item touch Creates a new file within the same directory Get-Content type Reads the contents of a file Set-Content echo Writes the contents of a file Remove-Item del Deletes a file Get-ChildItem dir Lists the contents of a directory CMD echo <line>: Prints a line in the shell type <file>: Reads the contents of a file file operations copy <source> <target>: Copies a file move <source> <target>: Moves a file del <file>: Deletes a file dir: Lists the contents of a directory cd commands: required to change the current directory cd <dir>: Changes the current directory cd ....

December 7, 2023 · 4 min · 702 words · Aum Pauskar