Home
Chat
This website collects cookies to deliver better user experience
OK
Useful Command line commands
Useful Command line commands
pwd
show directory
ls
show all files in directory
ls -all
info about files
ls -a
shows hidden files
clear
clears screen
cd
change directory / redirects to home
cd ..
go backwards
cd -
goes to prev directory
mkdir new-folder
make a directory
touch new-file.txt
make a new file
cp new-file.txt new/folder/new-file-copy.txt
make a copy
mv new-file-copy.txt ../new-file-copy.txt
moves a file
mv file.txt file-2.txt
rename a file
up/down arrow keys
toggle prev next commands
rm new-file-copy.txt
removes a FILE
rm -r new-folder
deletes all files and folder
cat file-name.txt
view whats in a file/s
cat file1.txt file2.txt > file3.txt
concatenates two files
>
pipes content into a file or over rides
echo Hi
prints HI
echo Hi >> file3.txt
HI gets added to end of the file content
man
provides documentation eg man ls
nano
manage file content / file editor
ctrl + c
exits process
18
0
Related Posts
loading...
loading...
loading...
loading...
loading...
loading...
loading...
loading...
Post Comment
Show Comments
A bug that made me a better developer.
How to build powerful tables in React using the React Table package
Implementing tables using reactjs
Next.js Authentication with Netlify Identity
Using VueQuill editor in Vue.Js3
Websites To Learn Programming For Free
C# For Beginners - Lesson 6: Strings
NodeJS vs Python