Skip to content

Latest commit

 

History

History
143 lines (113 loc) · 1.79 KB

File metadata and controls

143 lines (113 loc) · 1.79 KB

Xcmd files-folders Commands

ls

  • List the files and folders directory
ls
ls -l

ll

short cut for ls -l

ll (ls -l) 

up

better cd ..

up  (cd..)

up (n) directories

C\windows\Microsoft\Microsoft DotNet\6.0\Bin
up  3
C\windows\Microsoft

cdl

cd + ll

cdl <dirname> 

mcd

Make and cd to dir

c\code\
mcd app1
c\code\app1 

pwd

Print working dir and copies the path to the memmory

pwd

back

sends you back where ever you came from

C\windows\Microsoft\Microsoft DotNet\6.0\Bin
up  3
C\windows\Microsoft
back 
C\windows\Microsoft\Microsoft DotNet\6.0\Bin

win

opens windows explorer where you are currently

win

opens windows explorer by passing path

win code\react\app1

cat

Shows the file content

cat package.json

Shows the file content with line numbers

cat package.json -l

Shows the file content and copies it

cat package.json -c

touch

creates files

touch index.html 
touch index.html about.html contact.html

create folders

touch src js 
src 
    js

Ultimate project creator

REM create for hotel website
touch index.html contact.html about.html rooms large.html double.html single.html .. css style.css js index.js vendor jquery.js .. .. reademe.md  

index.html
contact.html
about.html 
readme.md 
rooms
    large.html
    double.html 
    single.html
css 
    style.css
js
    index.js
    vendor 
        jquery.js