Usefull Linux Commands

Getting Started

In this article, we sill cover up some of useful Linux OS command that is regularly used by developers and system admin to do certain tasks in a server.

File Management

  • Sync files between two folders using Rsync
    rsync -ahr --progress {source-file} {destination-file}

    Notes :
    – Don’t forget to change the {source-file} and {destination-file}

Disk Management

  • Format disk
    dd if=/dev/zero of=/dev/XXX bs=1M count=1

    Notes :
    – Don’t forget to change the /dev/XXX with your drive label
    – Add the argument status=progress , if you want to show the progress

Sharing is caring

© 2022 All Rights Reserved by Artistudio

Website problem, contact us!