Skip to main content

LINUX TERMINAL-COMMAND-I-INTRODUCTION

hey guys from today we start learning the command prompt step by step...
for this i prefare an linux commanding book...from where i extracted some portion .i hope this will be very useful for the beginners as well learners..for this just stick with me...and like my facebook page "HACKER-HEAVEN"

off course if you are my countinous reader of my blog ..you know well that my english is poor..i am improving my self..but i hope you will get the thing what i wanna teach you..so without wasting time let's start learning ....
  •  What Is The Shell?




When we speak of the command line, we are really referring to the shell. The shell is a program that takes keyboard commands and passes them to the operating system to carry out. Almost all Linux distributions supply a shell program from the GNU Project called
bash. The name “bash” is an acronym for “Bourne Again SHell”, a reference to the fact bash is an enhanced replacement for sh, the original Unix shell program written by Steve Bourne.



                         Terminal Emulators

When using a graphical user interface, we need another program called a terminal emulator to interact with the shell. If we look through our desktop menus, we will probably find one. KDE uses konsole and GNOME uses gnome-terminal, though it's likely
called simply “terminal” on our menu. There are a number of other terminal emulators available for Linux, but they all basically do the same thing; give us access to the shell.
You will probably develop a preference for one or another based on the number of bells and whistles it has.

in terminal what is meaning of

username@machinename,

If the last character of the prompt is a pound sign (“#”) rather than a dollar sign $, the terminal session has superuser privileges.
like in given screenshot 
username :ubuntu
machine name : ubuntu
and it shown dollar sign it's mean it is not an super user

         Command History

If we press the up-arrow key, we will see that the previous command “kaekfjaeifj” reap-pears after the prompt. This is called command history. Most Linux distributions remember the last 500 commands by default. Press the down-arrow key and the previous command disappears.

or you can just type command: history


  copy paste concept in the gnome terminal


If you highlight some text by holding down the left mouse button and dragging the mouse over it (or double clicking on a word), it is copied into a buffer
maintained by X. Pressing the middle mouse button will cause the text to be pasted at the cursor location. Try it.

Note: Don't be tempted to use Ctrl-c and Ctrl-v to perform copy and paste inside a terminal window. They don't work. These control codes have different meanings to the shell and were assigned many years before Microsoft Windows.

but another shortcut is 
Ctrl+Shift+c :copy
Ctrl+Shift+v :paste
                                  
              Try Some Simple Commands

before we start testing one thing remeber that terminal is       case senstive.

1. The first one is date. This command displays the current time and date.

command : date


2.A related command is cal which, by default, displays a calendar of the current month.

command : cal



3. To see the current amount of free space on your disk drives, enter df:

command : df

4.Likewise, to display the amount of free memory, enter the free command.

command : free

5. to clear the terminal screen. actually this command not delete the previous one exit..it just scroll your terminal and give an fresh screen.
command :clear

Ending A Terminal Session We can end a terminal session by either closing the terminal emulator window, or by en-
tering the exit command at the shell prompt:
 exit command :exit

                          The Console Behind The Curtain

actually here 90% command is fully work in linux distribution like ubuntu ,fedora etc.

Even if we have no terminal emulator running, several terminal sessions continue to run behind the graphical desktop. Called virtual terminals or virtual consoles, these sessions can be accessed on most Linux distributions by pressing                Ctrl-Alt-F1 through Ctrl-Alt-F6. When a session is accessed, it presents a login
prompt into which we can enter our username and password. To switch from one virtual console to another, press Alt and F1-F6. To return to the graphical desktop, press Alt-F7.

READ MY NEXT ARTCLE ON COMMANDING..



watch the video tutorial for this..sorry their is no audio..nut i hope you will get what i am trying to taught you...
      
                    ZEROCOOL
                     SIGN OUT


Popular posts from this blog

DEEP SOUND -STEGNOGRAPHY

In the series of the steganography ..today we are going to discuss the hiding of data in the music file through the help of the window based tool name       "DEEP SOUND" ..now a days very famous TV series name             Mr. Robot . . off course i am  fan of this show..where elliot use this tool for hiding his secret data.. read previous article on steganography                                                         so without wasting much time lets start .. 1.install the DEEP SOUND go to the official website of the deep sound and download it to your machine.  and open up the interface of the deep sound. 2. setting click on the setting gear icon, an pop-up window show up...where languge remain same as english,           change your output  directory ..like i change it to the documents by browsing the folder. after that check the box for encrypt files .. after that it will ask for the password.. input your password for the sec

KALI LINUX -SECURITY ,CONFIGURATIO AND UPDATES

      Configuring network services and  secure  communications The first step in being able to use Kali is to ensure that it has connectivity to either a wired or wireless network to support updates and customization. You may need to obtain an IP address by DHCP (Dynamic Host Configuration Protocol), or assign one statically. First, confirm your IP address using the  command  ifconfig command from a terminal window, as shown in the following screenshot: IP address is 192.168.1.11.... If an IP address was not obtained, an address can be assigned by DHCP using the command dhclient eth0 (or other available interfaces, which will depend on the  specific configuration of the system being used). If a static IP address is used, additional information may be required. For example, you can assign a static IP of 192.168.1.11as follows:                     inet addr:192.168.1.11            Bcast:192.168.1.255            Mask:255.255.255.0        Securing com

EVERY LINUX_ADMIN-COMMANDS TO BE KNOW

Hello Friends,             in todays article i am gonna cover the most used 16 linux commands,every linux admin should know it.in the whole article i just show the uses of all the commands and their additional attributes too.