Monday, 29 May 2017

Basic unix commands

Bellow are some basic linux commands required for setting up the hadoop environment.


$hostname
This command will display the name of your host

$sudo su
This command is used for login as super user

$addgroup  name of group
This command is used for adding a group

$adduser  name of user
This command is used for adding a user

$ls
This command is used for display the list of files inside a directory

$pwd
This command is used for display the present working directory

$cd
This command is used for changing the directory

$mkdir
This command is used for creating a  directory

$touch filename
This command is used for creating a blank file

$kill -9 processId
This command is used for manually killing a running process

$who 
This command is used for knowing that who is logged in the system

$df
This command is used to to how much disk space is available


No comments:

Post a Comment

How to install java in unix

In this post i am going to teach you how to install java in you unix box in order to use hadoop Before reading this please read  Basic Un...