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

Veröffentlicht am: 28 Mai 2018
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video 48. Basic macOS Terminal Commands to learn Git CLI - Full stack web development Course mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer WB Web Development Solutions 28 Mai 2018 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 13,421 Mal angesehen und es wurde von 147 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!