48. Basic macOS Terminal Commands to learn Git CLI - Full stack web development Course

Publicado em: 28 Maio 2018
no canal de: WB Web Development Solutions
13,421
147

In this Full Stack Web Development Tutorial Course video, We will be learning some basic #macOS #terminal #commands . The first one is changing directory. Directory is a folder or location for storing files in the computer.

To navigate through directories we use the cd command in terminal.
For example: cd directory-name

To list all the files and folders in a directory use the ls command. Changing directories and listing out items in directories go hand in hand.

To navigate back in a directory use cd .. command.

List of basic terminal commands:

mkdir dir-name Create a new directory with name dir-name
ls Display the name of files and subdirectories in the directory
touch file-name Create a new file wit name file-name
Change Directory:
cd Home directory
cd [folder] Change directory, e.g. cd Documents
cd~ Home directory
cd/ Root of the drive
cd- Previous directory or folder you last browsed
pwd Show your working directory
cd.. Move up to the parent directory
cd../.. Move up two levels
cp file-name target-name : Copy the files and directories from source path to destination path.
mv file-name target-name : Used to move the files or directories.
mv file-name new-name: Rename an existing file.
rm file-name : Used to remove files
rm -R folder-name : Used to remove non empty folders(i.e. Contains files inside)
rmdir dir: Used to remove a directory if it is empty
rmdir -R dir: Used to remove non-empty directories along with it’s content.

NOTE: While removing files or folders from the terminal we should be very careful as they are permanently deleted unlike done from the desktop or finder.
----------------------------

Week 2 : Day 2
Section 6 : Version Control With Git
Tutorial 48: macOS Terminal Basics to learn Git CLI, git command-line

----------------------------
Do subscribe and hit Bell Icon
----------------------------

Follow us in social media handles for opportunities and code related support.

Instagram:   / wb.web  
Facebook:   / wbweb  
Twitter:   / wbweb_in  
LinkedIn:   / wbweb  

----------------------------

Got a question on the topic? Please share it in the comment section below and our experts will answer it for you.

For more information, please write back to us at hi@wbweb.co.in or call us at IND: 7077568998

After completing the course, write to biswabijaya@wbweb.co.in for internship or freelancing opportunities.

For consultation or partnership related queries drop a mail to hi@wbweb.co.in


Nesta página do site você pode assistir ao vídeo on-line 48. Basic macOS Terminal Commands to learn Git CLI - Full stack web development Course duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário WB Web Development Solutions 28 Maio 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 13,421 vezes e gostou 147 espectadores. Boa visualização!