>

Fifty Useful Linux Commands Part One

Introduction Linux commands are the building blocks for managing and interacting with the Linux operating system. Whether you’re a seasoned system administrator or a beginner exploring the world of Linux, understanding these essential commands is crucial. In this article, we’ll delve into 50 important Linux commands, complete with practical examples to help you grasp their utility. Note: Be cautious when running commands with administrative privileges (e.g., sudo) to avoid making unintended changes to your system. ...

September 4, 2023 · 4 min · 640 words · Farhun

Fifty Useful Linux Commands Part Two

Introduction After part one we will look into more linux commands to enhance our use of commandline and troubleshoot any problems. ln - Create hard or symbolic links to files. ln -s /path/to/source/file link_name uptime - Display system uptime and load averages. uptime who - Display information about logged-in users. who whatis - Display one-line manual page descriptions. whatis command_name chroot - Change the root directory for a command. ...

September 4, 2023 · 3 min · 587 words · Farhun

How to Run Yacht or Portainer on Ubuntu

Requirment needed to run Yacht or Portainer (Ubuntu) All we need to run yacht or Portainer to manage our docker container is docker itself. According to docker official documnetation we need to do the following. First command sudo apt-get update sudo apt-get install ca-certificates curl gnupg This will allow apt install over HTTPS. Second command sudo install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg sudo chmod a+r /etc/apt/keyrings/docker.gpg This will add docker GPG keyrings for safety purpose. ...

August 31, 2023 · 2 min · 308 words · Farhun

Windows Execution Policy

Set-ExecutionPolicy Sets the PowerShell execution policies for Windows computers. Syntax Set-ExecutionPolicy [-ExecutionPolicy] <ExecutionPolicy> [[-Scope] <ExecutionPolicyScope>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>] Description The Set-ExecutionPolicy cmdlet changes PowerShell execution policies for Windows computers. For more information, see about_Execution_Policies. Beginning in PowerShell 6.0 for non-Windows computers, the default execution policy is Unrestricted and can’t be changed. The Set-ExecutionPolicy cmdlet is available, but PowerShell displays a console message that it’s not supported. An execution policy is part of the PowerShell security strategy. Execution policies determine whether you can load configuration files, such as your PowerShell profile, or run scripts. And, whether scripts must be digitally signed before they are run. ...

May 26, 2023 · 8 min · 1626 words · Farhun

Ownership Problem With Git Solved

When we install windows fresh ownership of folders doesn’t change in git. As a result it throws ownership error. Which is something like this: 'E:/Example' is owned by: 'S-1-5-20-18634556-634524560-354234-1550' but the current user is: 'S-1-5-20-3264345-30432434-3373425-1033' To add an exception for this directory, call: git config --global --add safe.directory E:/Hugo/Sites/blog-site This message indicates that the directory ‘E:/Hugo/Sites/blog-site’ is owned by a different user than the current user, and Git is warning you about potential permission issues. ...

May 25, 2023 · 3 min · 431 words · Farhun