Commands - UNIX.Cafe https://unix.cafe/wp/en/tag/commands/ Tue, 18 Mar 2025 13:37:01 +0000 en-US hourly 1 https://wordpress.org/?v=7.0.9 131122441 Git Guide: 05 Managing Files (Removing and Moving files) https://unix.cafe/wp/en/2025/03/git-guide-05-managing-files-removing-and-moving-files/?utm_source=rss&utm_medium=rss&utm_campaign=git-guide-05-managing-files-removing-and-moving-files https://unix.cafe/wp/en/2025/03/git-guide-05-managing-files-removing-and-moving-files/#respond Tue, 18 Mar 2025 12:42:13 +0000 https://unix.cafe/wp/?p=745 Introduction In Git, managing files goes beyond just tracking changes. You may need to remove or move files as your project evolves. Understanding how Git handles file deletions and renaming is crucial to maintaining a clean and efficient repository. This guide covers different scenarios of removing and moving files in Git, including the impact of […]

The post Git Guide: 05 Managing Files (Removing and Moving files) first appeared on UNIX.Cafe.

The post Git Guide: 05 Managing Files (Removing and Moving files) appeared first on UNIX.Cafe.

]]>
https://unix.cafe/wp/en/2025/03/git-guide-05-managing-files-removing-and-moving-files/feed/ 0 745
Git Guide: 04. Understanding Git Commit Process https://unix.cafe/wp/en/2025/03/git-guide-04-understanding-git-commit-process/?utm_source=rss&utm_medium=rss&utm_campaign=git-guide-04-understanding-git-commit-process https://unix.cafe/wp/en/2025/03/git-guide-04-understanding-git-commit-process/#respond Tue, 18 Mar 2025 12:14:10 +0000 https://unix.cafe/wp/?p=744 Introduction Committing changes in Git is one of the most crucial actions in version control. It allows you to save changes and add them to the project’s history. Through commits, you can track modifications, revert to previous versions, and collaborate effectively within development teams. In this guide, we will discuss how to commit changes in […]

The post Git Guide: 04. Understanding Git Commit Process first appeared on UNIX.Cafe.

The post Git Guide: 04. Understanding Git Commit Process appeared first on UNIX.Cafe.

]]>
https://unix.cafe/wp/en/2025/03/git-guide-04-understanding-git-commit-process/feed/ 0 744
Git Guide: 03. Understanding Staging Files in Git https://unix.cafe/wp/en/2025/03/git-guide-03-understanding-staging-files-in-git/?utm_source=rss&utm_medium=rss&utm_campaign=git-guide-03-understanding-staging-files-in-git https://unix.cafe/wp/en/2025/03/git-guide-03-understanding-staging-files-in-git/#respond Tue, 18 Mar 2025 11:30:00 +0000 https://unix.cafe/wp/?p=738 Introduction Git is a powerful version control system that allows developers to track changes, collaborate efficiently, and maintain a structured workflow. One of the fundamental concepts in Git is the staging area, which acts as an intermediary step before committing changes to the repository. In this blog post, we will dive deep into the staging […]

The post Git Guide: 03. Understanding Staging Files in Git first appeared on UNIX.Cafe.

The post Git Guide: 03. Understanding Staging Files in Git appeared first on UNIX.Cafe.

]]>
https://unix.cafe/wp/en/2025/03/git-guide-03-understanding-staging-files-in-git/feed/ 0 738
Git Guide: 02. Understanding Git repository and its workflow https://unix.cafe/wp/en/2025/03/git-guide-02-understanding-git-repository-and-its-workflow/?utm_source=rss&utm_medium=rss&utm_campaign=git-guide-02-understanding-git-repository-and-its-workflow https://unix.cafe/wp/en/2025/03/git-guide-02-understanding-git-repository-and-its-workflow/#respond Tue, 18 Mar 2025 06:24:40 +0000 https://unix.cafe/wp/?p=735 Introduction to Git Repositories Git is a powerful version control system that enables developers to track changes in their code and collaborate effectively. One of the first steps in working with Git is initializing a Git repository, which is essentially telling Git to start managing a project’s files. Whether you’re starting a new project or […]

The post Git Guide: 02. Understanding Git repository and its workflow first appeared on UNIX.Cafe.

The post Git Guide: 02. Understanding Git repository and its workflow appeared first on UNIX.Cafe.

]]>
https://unix.cafe/wp/en/2025/03/git-guide-02-understanding-git-repository-and-its-workflow/feed/ 0 735
Git Guide: 01. Getting Started https://unix.cafe/wp/en/2025/03/git-guide-01-getting-started/?utm_source=rss&utm_medium=rss&utm_campaign=git-guide-01-getting-started https://unix.cafe/wp/en/2025/03/git-guide-01-getting-started/#respond Mon, 17 Mar 2025 16:19:09 +0000 https://unix.cafe/wp/?p=726 Introduction Git is an essential tool for developers, system administrators, and anyone working with code or version-controlled files. It enables collaboration, keeps track of changes, and allows you to revert to previous versions when needed. Whether you’re working alone or as part of a team, Git makes version control simple and efficient. This guide will […]

The post Git Guide: 01. Getting Started first appeared on UNIX.Cafe.

The post Git Guide: 01. Getting Started appeared first on UNIX.Cafe.

]]>
https://unix.cafe/wp/en/2025/03/git-guide-01-getting-started/feed/ 0 726
The YUM package manager cheat-sheet https://unix.cafe/wp/en/2020/07/the-yum-package-manager-cheat-sheet/?utm_source=rss&utm_medium=rss&utm_campaign=the-yum-package-manager-cheat-sheet https://unix.cafe/wp/en/2020/07/the-yum-package-manager-cheat-sheet/#respond Fri, 10 Jul 2020 21:00:26 +0000 https://unix.cafe/wp/?p=489 We’ll cover more than a 100 commands of the yum package manager. Which is super handy to the system-administrators in order to be able to manage the packages in Linux distros that use yum, such as redhat 6 & 7, CentOS 6 & 7 and Scientific Linux 6 & 7. Keep in mind that a […]

The post The YUM package manager cheat-sheet first appeared on UNIX.Cafe.

The post The YUM package manager cheat-sheet appeared first on UNIX.Cafe.

]]>
https://unix.cafe/wp/en/2020/07/the-yum-package-manager-cheat-sheet/feed/ 0 489
Securely remove files using 4 tools (Paranoid mode) https://unix.cafe/wp/en/2020/07/securely-remove-files-using-4-tools-paranoid-mode/?utm_source=rss&utm_medium=rss&utm_campaign=securely-remove-files-using-4-tools-paranoid-mode https://unix.cafe/wp/en/2020/07/securely-remove-files-using-4-tools-paranoid-mode/#respond Wed, 08 Jul 2020 21:00:13 +0000 https://unix.cafe/wp/?p=386 Let’s see how to create a tiny BASH script as a result of combining scrub, wipe, shred and srm to securely remove files on Linux, FreeBSD and MacOSX. Let’s call it the Paranoid mode. 😉 Requirements: We need to have the following packages installed on our system. scrub: how to install scrub. wipe: how to […]

The post Securely remove files using 4 tools (Paranoid mode) first appeared on UNIX.Cafe.

The post Securely remove files using 4 tools (Paranoid mode) appeared first on UNIX.Cafe.

]]>
https://unix.cafe/wp/en/2020/07/securely-remove-files-using-4-tools-paranoid-mode/feed/ 0 386
Toggle between CPU powersave and performance in Linux https://unix.cafe/wp/en/2020/07/toggle-between-cpu-powersave-and-performance-in-linux/?utm_source=rss&utm_medium=rss&utm_campaign=toggle-between-cpu-powersave-and-performance-in-linux https://unix.cafe/wp/en/2020/07/toggle-between-cpu-powersave-and-performance-in-linux/#comments Tue, 07 Jul 2020 21:00:16 +0000 https://unix.cafe/wp/?p=379 If you’re using an application that needs lots of CPU power, or you’re a gamer, you need to be able to switch your CPU mode (governor) from power-saving to full-performance mode. And of course vice-versa. Usually your Linux CPU scaling is set to powersave by default, which is more than enough and sufficient for most […]

The post Toggle between CPU powersave and performance in Linux first appeared on UNIX.Cafe.

The post Toggle between CPU powersave and performance in Linux appeared first on UNIX.Cafe.

]]>
https://unix.cafe/wp/en/2020/07/toggle-between-cpu-powersave-and-performance-in-linux/feed/ 1 379
Securely remove files using scrub tool https://unix.cafe/wp/en/2020/07/securely-remove-files-using-scrub-tool/?utm_source=rss&utm_medium=rss&utm_campaign=securely-remove-files-using-scrub-tool https://unix.cafe/wp/en/2020/07/securely-remove-files-using-scrub-tool/#respond Mon, 06 Jul 2020 21:00:20 +0000 https://unix.cafe/wp/?p=361 scrub is one of the most popular tools that specialized in securely remove files on UNIX, MacOS X and Linux distros. Let’s see how to install and use it to prevent or at least decrease the possibilities of recovering them. As usual, become a root or use sudo whenever is needed with the following commands. Installation: scrub too […]

The post Securely remove files using scrub tool first appeared on UNIX.Cafe.

The post Securely remove files using scrub tool appeared first on UNIX.Cafe.

]]>
https://unix.cafe/wp/en/2020/07/securely-remove-files-using-scrub-tool/feed/ 0 361
Securely remove files using wipe tool https://unix.cafe/wp/en/2020/07/securely-remove-files-using-wipe-tool/?utm_source=rss&utm_medium=rss&utm_campaign=securely-remove-files-using-wipe-tool https://unix.cafe/wp/en/2020/07/securely-remove-files-using-wipe-tool/#respond Sun, 05 Jul 2020 21:00:52 +0000 https://unix.cafe/wp/?p=359 Let’s learn how to install and use the wipe tool on our UNIX, MacOS X and Linux distros to securely remove files to prevent or at least decrease the possibilities of recovering them for the sake of privacy. Wipe is a secure file wiping utility. There are some low level issues that must be taken […]

The post Securely remove files using wipe tool first appeared on UNIX.Cafe.

The post Securely remove files using wipe tool appeared first on UNIX.Cafe.

]]>
https://unix.cafe/wp/en/2020/07/securely-remove-files-using-wipe-tool/feed/ 0 359