NEWSCOMMUNITYSTORELABSLINUXSIGN UPLOGINLOGOUT
ROKOJORI
NEWSLETTERSIGN UPLOGINLOGOUTNEWSCOMMUNITYSTORELABSLINUXTOGGLE FULLSCREENVOLLBILD AN/AUS
LINUX GUIDE
Most needed commands for Linux
Most needed commands for Linux CD: Change directoriescd{path}LS: List fileslsNANO: Edit Textnano{path}CAT: Concat Textcat>>{path}MKDIR: Make a directorymkdir{path}TOUCH: Create an emptyfiletouch{path}CHOWN: Change File Ownershipchown{user}:{user}{path}CHMOD: Change File Permissionschmod740{path}FIND: Find files/directoriesfind-name{name}REALPATH: Get the absolute path of a filerealpath{relative-path}CD
CD
Man page: CD
Always safe to use
Overview
EXAMPLES
To parent directory:
cd..
To the home directory of the user:
cd~
Enter a directory relative to the selected one:
cdto-relative-path
Enter a directory absolute to the root (ignoring the the selected one):
cd/to-absolute-pathWHAT IT DOES
Changes the path of the terminal's selected working directory. WHEN TO USE
An OS defines the starting path of a program (to resolve relative paths) by the terminal's selected path.
This is needed, when a programs resolve files relative or for convienence to not type an absolute path.
CD
CD
Man page: CD
Always safe to use
Overview
EXAMPLES
To parent directory:
cd..
To the home directory of the user:
cd~
Enter a directory relative to the selected one:
cdto-relative-path
Enter a directory absolute to the root (ignoring the the selected one):
cd/to-absolute-pathWHAT IT DOES
Changes the path of the terminal's selected working directory. WHEN TO USE
An OS defines the starting path of a program (to resolve relative paths) by the terminal's selected path.
This is needed, when a programs resolve files relative or for convienence to not type an absolute path.
LS: List Files
LS: List Files
Man page: LS
Always safe to use
Overview
EXAMPLES
Show files of selected path:
ls
Show files of path:
ls{path}WHAT IT DOES
Changes the path of the terminal's selected working directory. WHEN TO USE
An OS defines the starting path of a program (to resolve relative paths) by the terminal's selected path.
This is needed, when a programs resolve files relative or for convienence to not type an absolute path.
LS: List Files
LS: List Files
Man page: LS
Always safe to use
Overview
EXAMPLES
Show files of selected path:
ls
Show files of path:
ls{path}WHAT IT DOES
Changes the path of the terminal's selected working directory. WHEN TO USE
An OS defines the starting path of a program (to resolve relative paths) by the terminal's selected path.
This is needed, when a programs resolve files relative or for convienence to not type an absolute path.
Nano
Nano
Nano Home Page
Always safe to use
Overview
EXAMPLESnano {path}WHAT IT DOES
Starts a graphics text editor in the terminal. WHEN TO USE
If you want to edit text files with a UX known from popular text editors.
Nano
Nano
Nano Home Page
Always safe to use
Overview
EXAMPLESnano {path}WHAT IT DOES
Starts a graphics text editor in the terminal. WHEN TO USE
If you want to edit text files with a UX known from popular text editors.
CAT
CAT
Man page: CAT
Always safe to use
Overview
EXAMPLEScat>>{path}WHAT IT DOES
Concats text files (to the standard output/terminal). If used in combination with >> it will append the
input of the terminal to the specified path. WHEN TO USE
To quickly append text to the end of another text file.
CAT
CAT
Man page: CAT
Always safe to use
Overview
EXAMPLEScat>>{path}WHAT IT DOES
Concats text files (to the standard output/terminal). If used in combination with >> it will append the
input of the terminal to the specified path. WHEN TO USE
To quickly append text to the end of another text file.
TO LINUX OVERVIEW
All social media brands are registrated trademarks and belong to their respective owners.