Giter Site home page Giter Site logo

olesendan / linux-commands-cheat-sheet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from taledo/linux-commands-cheat-sheet

0.0 1.0 0.0 166 KB

A compilation of some commonly used Linux commands for beginners (and those of us who often just forget :))

linux-commands-cheat-sheet's Introduction

Linux-Commands-Cheat-Sheet

A compilation of some commonly used Linux commands for beginners (and those of us who often just forget :))

Files & Folders

Some common commands for navigating, moving, deleting & more!

Navigate to a folder
cd /path/to/folder
Create a folder
mkdir folder
Create a folder, then navigate to it (One command)
mkdir folder && cd folder
Move a file or folder to another folder
mv /path/to/file.txt /path/to/dest/
mv /path/to/folder1 /path/to/dest/
Move multiple folders
mv folder1 folder2 /path/to/dest/
Display files (with details) in a folder
ls -l
Zip up a file or folder
tar -cvzf filename.tar.gz folder/
Unzip a file or folder
tar -xvzf filename.tar.gz

Transferring files

Securely (over SSH) and locally

Copy a file from one location to another
cp /path/to/file.txt /path/to/dest
Copy a folder from one location to another
cp -r /path/to/folder /path/to/dest

Permissions

For more info on types of permissions and what they mean, go here

Change permissions of a file
chmod 755 file.txt
Change permissions of a folder
chmod -R 755 /path/to/folder

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.