Thursday, September 15, 2011

Linux Terms and Commands

ext -- Linux Extended filesystem — the original Linux filesystem
ext2 -- Second extended filesystem,Advanced features to ext
ext3 -- Third extended filesystem, supports journaling
ext4 -- Fourth extended filesystem, supports advanced journaling
ntfs -- Support for Microsoft NT filesystem
The Unity  -- Desktop on the Ubuntu

Common Linux Directory Names
Directory and its Usage

/
root of the virtual directory, where normally, no files are placed
/bin
binary directory, where many GNU user-level utilities are stored
/boot
boot directory, where boot files are stored
/dev
device directory, where Linux creates device nodes
/etc
system configuration files directory
/home
home directory, where Linux creates user directories
/lib
library directory, where system and application library files are stored
/media
media directory, a common place for mount points used for removable media
/mnt
mount directory, another common place for mount points used for removable media
/opt
optional directory, often used to store third-party software packages and data files
/proc
process directory, where current hardware and process information is stored
/root
root home directory
/sbin
system binary directory, where many GNU admin-level utilities are stored
/run
run directory, where runtime data is held during system operation
/srv
service directory, where local services store their files
/sys
system directory, where system hardware information files are stored
/tmp
temporary directory, where temporary work files can be created and destroyed
/usr
user binary directory, where the bulk of GNU user-level utilities and data files are stored
/var
variable directory, for files that change frequently, such as log files.

cd
pwd

ls
ls -F forward slash after directory name

ls -RF //Excellent ls command,shows full contents including sub directories.

ls -l  //Long Listing

File globbing using *
ls -l my_s*t //my_shirt,my_short



How to enable globstar so that you can do things like ls **/*.c
first check your shell version is Bash 4 by

$0 --verion

now set globstar settings by

shopt -s globstar

it is suggested to restart the shell .


 Linux ls command and its importance in daily use.



The Linux ls command is an essential and very powerful command for daily usage.mainly used for browsing the contents of directories.its power comes when it is used with the
its options to customize the output.

In order to find the last modified/touched file in a directory we can use ls -Al.
if you want only the last four files that are modified in a directory then the following command will help.

satyendra $ ls -Alt | head -4
total 7668
-rw-r--r--  1 satyendra Administrators 2359296 Sep 21 21:20 ntuser.dat
-rw-r--r--  1 satyendra Administrators  262144 Sep 21 21:20 ntuser.dat.LOG1
dr-xr-xr-x  0 satyendra Administrators   98304 Sep 21 20:57 Recent

The –t option shows files by the time they are modified.
head -4 takes the input from ls -Alt and shows only the last 3 modified files.

Wednesday, September 14, 2011

Agile Scrum dictionary


What is Agile Methodology
Agile software methodology (Develop quickly and lightly) is based on iterative and incremental development 
methodology.ideally each iteration(Also known as Sprint in Agile terms)is spanned for 2weeks.
during these two weeks a potentially shippable product (also known as increment) is implemented.

What is Scrum
Scrum is a light-weight Agile method mainly used for managing software development.
scrum perfectly suits for completing complex projects,yet scrum methods are simple to implement on daily basis.

Sprint
Sprint is an iteration of work during which a potentially shippable product increment is worked upon and produced. Currently, the recommended sprint duration is 2-weeks.

Daily Scrum
A short daily meeting (ideally 15 minutes)where each team member stands and answers 3 questions:
1. What have I done (yesterday )for the sprint since the last Scrum meeting?
2. What will I do (today) for the sprint before the next Scrum meeting?
3. Impediments (work blocking issues)faced by each individual while performing work for the sprint.