Tuesday 19 August 2014

Basic Linux Commands

Command
Description
Date
Show date and time
free
Display used memory status
id
User id , group id and group of your account
groups
Tells, which account you logged in.
cal
Display a calendar
cat
Concatenate files and print on the standard output
chdir
Change working directory
logname
Print user's login name
chroot
Change root directory
mkdir
Makes a directory
clear
Clear terminal screen
shutdown
Shutdown in a secure way
unmae -a
Tell O.S, hostname, kernal version, date & Time and processor
cp
Copy one or more files to another location
w
Who is logged on and what he is doing
ls
To list all directoeies
history
To see all command historyl
cut
Divide a file into several parts
date
Display or change the date & time
dc
Desk Calculator
gzip
To create compressed file
df
Display free disk space
gzip -d
To un compress
dir
Briefly list directory contents
dirname
Convert a full pathname to just a path
echo
Display message on screen
free
Display memory usage
fsck
Filesystem consistency check and repair
grep
Search file(s) for lines that match a given pattern
groups
Print group names a user is in
gzip
Compress or decompress named file(s)
hostname
Print or set system name
id
Print user and group id's
info
Help info
install
Copy files and set attributes
join
Join lines on a common field
kill
Stop a process from running
java --version
To see detail information of java
logname
Print current login name

No comments:

Post a Comment