In this tutorial you will learn to use linux terminal. You will learn to navigate on the http://buyandroidsmartphone.blogspot.com /search/label/CMD" target="_blank">terminal, learn to create and remove file and much more. Most of this commands also works on Mac Os X and powershell on windows.
ls - it will list all files and folder in your current directory
ls -l it will give detailt listing of all files and folders
ls -a it will list all files and folder in your current directory including hidden files (files and folders that begin with period)
pwd will print your working directory or simply your current directory
cd - cd stands for change directory. we use cd follow by path address to navigate ro that folder.
Eg: cd Desktop will make desktop as my current directory.
cd / will make root as you current directory
cd ~ will make home as your current directory
Typing cd alone is same as cd ~ and it will make home as your current directory
cd .. will make parent directory i.e directory above your current directory
cd ../../ will take you two folder up
Eg mkdir car will create directory car in your current directory
to create folder recursively i.e folder inside folder inside folder we use -p flag
Eg mkdir -p vehicles/car/truck will create directory vehicles in your current directory which have car inside it and car has directory truck in it.
touch - we use touch follow by file name to create empty file.
rm -r to remove file recursively which can not be removed by rmdir
rm - We use this command to remove files
What Is Terminal ?
Basically you are reading this tutorial because you are new to linux or want to learn using terminal to navigate. Before you get started you must have linux installed or running virtually on your computer. I would recommend downloading fedora or ubuntu (If you have trouble installing ubuntu leave a comment below and i will post a tutorial).Commands To Remember
This are some of commands you must remember which will help you to use terminal more easily.ls - it will list all files and folder in your current directory
ls -l it will give detailt listing of all files and folders
ls -a it will list all files and folder in your current directory including hidden files (files and folders that begin with period)
pwd will print your working directory or simply your current directory
Navigating In Terminal
Here i may refer folder as directory so dont get confused. This is the term we use in linux for folders.cd - cd stands for change directory. we use cd follow by path address to navigate ro that folder.
Eg: cd Desktop will make desktop as my current directory.
cd / will make root as you current directory
cd ~ will make home as your current directory
Typing cd alone is same as cd ~ and it will make home as your current directory
cd .. will make parent directory i.e directory above your current directory
cd ../../ will take you two folder up
Creating Files And Folder
mkdir - we use mkdir follow by path or folder name to create a directoryEg mkdir car will create directory car in your current directory
to create folder recursively i.e folder inside folder inside folder we use -p flag
Eg mkdir -p vehicles/car/truck will create directory vehicles in your current directory which have car inside it and car has directory truck in it.
touch - we use touch follow by file name to create empty file.
Removing Files And Folders
rmdir - we use rmdir follow by path to to remove any directory. This will not work if folder you are trying to remove has something in it.rm -r to remove file recursively which can not be removed by rmdir
rm - We use this command to remove files
Feedback
I guess thats enough for today. I know this is little confusing but practice and you will be a terminal pro. Leave a comment below if you have any trouble. You may also like to read below articles.- http://buyandroidsmartphone.blogspot.com /2013/03/learn-to-hide-files-behind-images.html" target="_blank">Learn To Hide Files Behind The Images
- http://buyandroidsmartphone.blogspot.com /2011/12/watch-star-wars-movie-in-cmd.html" target="_blank">Watch Star Wars movie in CMD
- http://buyandroidsmartphone.blogspot.com /2013/03/finding-ip-address-of-website-using.html" target="_blank">Finding Ip Address Of A Website Using CMD
There are two key measurements to an "elite site": blog genuine execution and saw execution. At the point when we state genuine execution, we're alluding to target measurements dependent on the absolute size of the page, accessible transfer speed blogand code unpredictability, which at that point brings about estimating how rapidly the program starts downloading and finishes rendering the page. You can without blogmuch of a stretch test genuine execution of your pages utilizing accessible program modules and different online apparatuses. Seen execution is more emotional; it's the means by which fast a guest thinks your blogpage or site is; so the blog qualification here is appearance versus reality. What we're alluding to by apparent execution is the manner by which rapidly the guest can see and cooperate with your substance. So regardless of whether blogthe program is as yet stacking code out of sight or taking a shot at rendering parts drop down the page beneath the overlay, the guest sees that the page is completely stacked blogand the site is quick since the individual in question can promptly draw in with it. Ease of use testing your site with target crowds is one of the best blogapproaches to test apparent blog execution.
BalasHapus