Pages

Giới thiệu

Thân chào tất cả cộng đồng online: Blog này được thành lập và duy trì với mục đích đem lại một sân chơi giải trí lành mạnh cho mọi người sau những giờ làm việc căng thẳng. nguyenlinh261091 luôn cập nhật bài viết từ những trang website tin tức đáng tin cậy, uy tín từ trong và ngoài lãnh thổ Việt Nam, và đều ghi đầy đủ nguồn ở ngay lời mở đầu của bài viết. Đến với chúng tôi, các bạn sẽ không bị ràng buộc bởi bất kì quy định nào nhưng vẫn nhận được sự phục vụ và quan tâm tốt nhất. Để duy trỳ và phát triển tốt hơn Chúng tôi luôn muốn nghe ý kiến từ các bạn. Hãy Liên hệ với chúng tôi bất kì lúc nào bạn muốn và sẽ nhận được câu trả lời nhanh nhất có thể. Chân thành cảm ơn.

Ps: Chúng tôi đang trong thời gian hoàn thiện dần về nội dung cũng như giao diện. Xin lỗi vì mọi sự bất tiện chúng tôi gây ra cho bạn.Chúc tất cả một ngày làm việc và online vui vẻ!

Thân !

Thứ Hai, 24 tháng 6, 2013

Introduction To Basic Terminal Commands For Linux - Part 1

linux terminal
In this tutorial you will learn to use linux terminal. You will learn to navigate on the terminal, learn to create and remove file and much more. Most of this commands also works on Mac Os X and powershell on windows.

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 directory
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.

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.
Share this post
  • Share to Facebook
  • Share to Twitter
  • Share to Google+
  • Share to Stumble Upon
  • Share to Evernote
  • Share to Blogger
  • Share to Email
  • Share to Yahoo Messenger
  • More...

Nhận Tin Qua Email

Cùng tham gia với hơn 1500 người đã đăng ký nhận tin qua Email với các Tin mới nhất,Nóng nhất trong ngày cập nhật liên tục 24h trên nguyenlinh261091.blogspot.com từ các Báo Mạng uy tín của Việt Nam!

Khi đăng ký nhận tin,Bạn sẽ nhận được Email từ chúng tôi.Đăng nhập email để hoàn tất quá trình đăng ký.

Comments
0 Comments
Facebook Comments by Blogger Widgets

0 nhận xét

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

Các Bài Viết Gần Nhất

 
Posts RSSComments RSSBack to top
Copyright © 2013 by Tin Nhanh Đọc Báo Tin Tức 24H ∙ Templated by Tin tuc 24h.
Tin tức thời sự cập nhật liên tục 24h từ các báo mạng uy tín Việt Nam.
-------------------------------------- Share template blogspot, share code