best Hacking tricks

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, 24 June 2013

Introduction To Basic Terminal Commands For Linux - Part 1

Posted on 08:01 by Unknown
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.
  • Learn To Hide Files Behind The Images
  • Watch Star Wars movie in CMD
  • Finding Ip Address Of A Website Using CMD
Email ThisBlogThis!Share to XShare to Facebook
Posted in CMD, LINUX | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • 1000+ Hacking Tutorials collection
    DOWNLOAD HERE
  • How Does The Free Services And Softwares Can Cost High?
    Of course it is awesome to get something totally free of cost, isn’t it? But are you aware that the free thing can cost you much more in nea...

Categories

  • Android
  • ANNOUNCEMENT
  • BACKTRACK
  • BATCH PROGRAMMING
  • BLOG WIDGETS
  • BLOGGING
  • BROWSER TRICKS
  • CMD
  • Computer Programming
  • DDoS
  • Desktop Apps
  • DOWNLOADS
  • EBOOKS
  • Email Application
  • FACEBOOK
  • FIREFOX
  • GAMES
  • GOOGLE
  • GOOGLE TRICKS
  • Hackers
  • HACKING
  • Hacking EBOOKS
  • ICONS
  • INTERESTING TRICKS
  • IP ADDRESS
  • JAVASCRIPT TRICKS
  • KEYLOGGER
  • LINK EXCHANGE
  • LINUX
  • MOBILE
  • MOVIES
  • NOTEPAD TRICKS
  • PASSWORD HACKING
  • PHISHING
  • PROGRAMMING EBOOKS
  • RAT
  • REGISTRY
  • Reviews
  • Security
  • Smartphone Apps
  • SOFTWARES
  • SQL INJECTION
  • VIDEO TUTORIALS
  • VIRTUAL MACHINE
  • VIRUS
  • WINDOWS
  • YOUTUBE TRICKS

Blog Archive

  • ►  2014 (18)
    • ►  March (4)
    • ►  February (5)
    • ►  January (9)
  • ▼  2013 (27)
    • ►  December (5)
    • ►  November (1)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ▼  June (2)
      • Introduction To Basic Terminal Commands For Linux ...
      • How To Block Youtube Ads ?
    • ►  April (5)
    • ►  March (5)
    • ►  February (4)
    • ►  January (2)
  • ►  2012 (38)
    • ►  December (5)
    • ►  November (4)
    • ►  October (5)
    • ►  March (2)
    • ►  February (4)
    • ►  January (18)
  • ►  2011 (53)
    • ►  December (24)
    • ►  November (29)
Powered by Blogger.

About Me

Unknown
View my complete profile

Register Here

Pages

  • Home