Skip to content

Latest commit

 

History

History
70 lines (58 loc) · 1.89 KB

00_unix_resources.md

File metadata and controls

70 lines (58 loc) · 1.89 KB

Unix

Unix controls operations on the computer.

Unix Commands

Print working directory
pwd
Change directory to Home
cd ~
cd 
cd $HOME
. # Current directory
List files
ls
ls -l # List files in long format
ls -a # List all files including hidden files
ls -A
ls -lha # Human readable format
Create local file
echo "Text" > file.txt # Dump displayed contents into a file and overwrite existing file
echo "Text" >> file.txt # Dump displayed contents into a file and add to existing file
Type ~ Command on Spanish keyboards
Alt + ñ
Alt + gr + +
Type | Pipe Command on Spanish keyboards
Alt + 1
Processes
ps # List processes running
reset # Resets terminal if stuck

References:

How do I save my Terminal output to a history log file? https://unix.stackexchange.com/questions/200637/save-all-the-terminal-output-to-a-file/200642

Ubuntu Installation Support with Diskpart: