Publish Events & Email Alerts

Subscribe our email alerts and Publish your events with us

You'll Receive & Get Benefits :

Publish & Subscribe

 Technicalsymposium

Linux Materials-Free Download

UNIX COMMANDS

1) To Display the Date:

[mca0610015@linux ~]$ date

Tue Jan 8 15:20:42 IST 2008

2) To Display the Time:

[mca0610015@linux ~]$ time

real 0m0.000s

user 0m0.001s

sys 0m0.000s

[mca0610015@linux ~]$

3)To Display the calendar:

[mca0610015@linux ~]$ cal

January 2008

Su Mo Tu We Th Fr Sa

1 2 3 4 5

6 7 8 9 10 11 12

13 14 15 16 17 18 19

20 21 22 23 24 25 26

27 28 29 30 31

4) To clear the screen: 

[mca0610015@linux ~]$clear 

5) To Create a new directory:

[mca0610015@linux sample]$ mkdir first

[mca0610015@linux sample]$

6) To check how many users activated currently:

[mca0610015@linux nana]$ who

mca06100 pts/1 Jan 8 15:21 (192.169.3.20)

mca06100 pts/2 Jan 8 15:17 (192.169.3.10)

mca06100 pts/3 Jan 8 15:27 (192.169.3.33)

mca06100 pts/4 Jan 8 15:18 (192.169.3.36)

mca06100 pts/5 Jan 8 15:18 (192.169.3.18)

mca06100 pts/6 Jan 8 15:19 (192.169.3.43)

7) To Display the current Login:

[mca0610015@linux nana]$ who am i

mca06100 pts/24 Jan 8 15:24 (192.169.3.44)

[mca0610015@linux nana]$ 

8) To Change the Directory: 

[mca0610015@linux ~]$ cd sample

[mca0610015@linux sample]$

9) To Exit to previous directory:

[mca0610015@linux sample]$ cd ..

[mca0610015@linux ~]$

10) To Create a new File:

[mca0610015@linux ~]$ cat > vel

hi i am velmurugan

[mca0610015@linux ~]$

11) Display the content of File:

[mca0610015@linux ~]$ cat vel

hi i am velmurugan

[mca0610015@linux ~]$

12) To Display the Present working directory:

[mca0610015@linux sample]$ pwd

/home/mca0610015/sample

[mca0610015@linux sample]$

13) To Display the Long form of information of files: 

[mca0610015@linux ~]$ ls -l

total 32

drwxrwxr-x 2 mca0610015 mca0610015 4096 Jan 8 15:26 kgln

drwxrwxr-x 2 mca0610015 mca0610015 4096 Jan 8 15:29 nana

drwxrwxr-x 3 mca0610015 mca0610015 4096 Jan 8 15:40 sample

-rw-rw-r-- 1 mca0610015 mca0610015 19 Jan 8 15:47 vel

[mca0610015@linux ~]$ 

14) To Display the Hidden files 

[mca0610015@linux ~]$ ls -a

. .bash_history .bash_profile .emacs .kde nana vel .zshrc

.. .bash_logout .bashrc .gtkrc kgln sample .xemacs

[mca0610015@linux ~]$ 

15) To Copy the file in to another File 

[mca0610015@linux ~]$ cp press vel

[mca0610015@linux ~]$ cat vel

hi i am vel

[mca0610015@linux ~]$

16) To Display the Process State 

[mca0610015@linux ~]$ ps

PID TTY TIME CMD

9307 pts/24 00:00:00 bash

12257 pts/24 00:00:00 ps

[mca0610015@linux ~]$

17) To Remove the File:

Before Remove: 

[mca0610015@linux ~]$ ls -l

total 40

drwxrwxr-x 2 mca0610015 mca0610015 4096 Jan 8 15:26 kgln

drwxrwxr-x 2 mca0610015 mca0610015 4096 Jan 8 15:29 nana

-rw-rw-r-- 1 mca0610015 mca0610015 12 Jan 8 16:11 press

drwxrwxr-x 3 mca0610015 mca0610015 4096 Jan 8 16:05 sample

-rw-rw-r-- 1 mca0610015 mca0610015 12 Jan 8 16:11 vel

[mca0610015@linux ~]$ rm press 

After Remove:

[mca0610015@linux ~]$ ls -l

total 32

drwxrwxr-x 2 mca0610015 mca0610015 4096 Jan 8 15:26 kgln

drwxrwxr-x 2 mca0610015 mca0610015 4096 Jan 8 15:29 nana

drwxrwxr-x 3 mca0610015 mca0610015 4096 Jan 8 16:05 sample

-rw-rw-r-- 1 mca0610015 mca0610015 12 Jan 8 16:11 vel

[mca0610015@linux ~]$

18) To Remove the Directory: 

Before Remove: 

[mca0610015@linux ~]$ ls -l

total 32

drwxrwxr-x 2 mca0610015 mca0610015 4096 Jan 8 15:26 kgln

drwxrwxr-x 2 mca0610015 mca0610015 4096 Jan 8 15:29 nana

drwxrwxr-x 3 mca0610015 mca0610015 4096 Jan 8 16:05 sample

-rw-rw-r-- 1 mca0610015 mca0610015 12 Jan 8 16:11 vel

[mca0610015@linux ~]$ rmdir nana



After Remove: 

[mca0610015@linux ~]$ ls -l

total 24

drwxrwxr-x 2 mca0610015 mca0610015 4096 Jan 8 15:26 kgln

drwxrwxr-x 3 mca0610015 mca0610015 4096 Jan 8 16:05 sample

-rw-rw-r-- 1 mca0610015 mca0610015 12 Jan 8 16:11 vel

[mca0610015@linux ~]$ 

19) To Sort Ascending and descending order: 

[mca0610015@linux ~]$ cat > mani

vel

arun

sathish

press

manikandan

venki

bala

Ascending: 

nana[mca0610015@linux ~]$ sort mani

arun

bala

manikandan

nana

press

sathish

vel

venki

Desending: 

[mca0610015@linux ~]$ sort -r mani

venki

vel

sathish

press

nana

manikandan

bala

arun

[mca0610015@linux ~]$ To Execute the C program: 

[mca0610015@linux ~]$ cat sam

main()

{

printf("Welcome");

}

[mca0610015@linux ~]$ cc sam.c

sam.c:5:2: warning: no newline at end of file

[mca0610015@linux ~]$ ./a.out

Welcome[mca0610015@linux ~]$

Source: Contents are provided by Technicalsymposium Google Group Members. 
Disclaimer: All the above contents are provided by technicalsymposium.com Google Group members. 
Further, this content is not intended to be used for commercial purpose. Technicalsymposium.com is not liable/responsible for any copyright issues.


Government Jobs

All State and Central Government Jobs/Railway & Bank Jobs/Alll Competitive Exams-Complete Details.

Software Jobs

Entry Level Software & IT Jobs in Chennai/Bangalore & Leading Metro Cities-Complete Details.

Conference/Symposium

Engineering Colleges & University /Premier Institute (IIT/IIM/etc.,) Events Details.

Off-Campus/Walk-in

All Software Companies & Core Companies Off-Campus Interviews & Walk-in across India-Complete Details.

All Bank Jobs

All Government Bank & Private Bank Jobs-Complete Details.

Internships

All Companies Internships-Complete Details.

IBPS

Probationary Officers/Clerk and Management Trainees & All IBPS Exams/Syllabus-Complete Details.

GATE

All Branches Syllabus & Question Papers-Free Download.

IES-Exam

Indian Engineering Services Syllabus & Question.Papers-Complete Details.

Software Program

Top Programming Source Codes/Lab Manuals with Solutions-Complete Details

Anna University

B.E/B.Tech/M.E/M.Tech/MCA/MBA Latest Syllabus & Question Papers

Scholarships

All Central & State Govt Scholarships/ International Scholarships/Merit Scholarships Details.

Placement Papers

All Companies Placement Papers with Answers - Free Download of Materials

Aptitude

All Aptitude Test Topics with Answers-Complete Details & Free Download

Technical Round Interview

All Companies Technical Round Interview Asked Questions with Answers

Certifications

All Certifications Software & All Branches Certifications-Complete Details.

Group Discussion

Group Discussion Various Topics with Valid Points-Complete Details.

HR Round

All HR Round Questions and Answers/Tips & Do's and Don'ts of HR Round.

General Job

Job Interview Tips & Do's/Dont's/Dress Codes/Body Language-Complete Details.

Placement ebooks

All Companies Placement Materials with Answers-Complete Details.

Technical Round Tips

All Kind of Technical Round Interview Tips and Answers/ Do's and Don'ts

Resume

Resume Writing Tips/Do's & Don'ts-Complete Details.

Career Pages

All MNC Companies Career Pages & Current Openings-Complete Details.

Software Projects

All Software Projects with Source Codes-Free Download & Details.

GRE

GRE Exam Procedure and Complete Details.

TOEFL

TOEFL Exam Procedure and Complete Details.

IELTS

IELTS Exam Procedure and Complete Details

SAT

SAT Exam Procedure and Complete Details

GMAT

GMAT Exam Procedure and Complete Details

MS in USA

MS in USA Procedure and Complete Details

Civil Engineering

Civil Engineering Lecture Notes for All Universities & Lab Manuals for All Semester.-Free Download

Mechanical Engineering

Mechanical Engineering Lecture Notes for All Universities & Lab Manuals for All Semester-Free Download.

Automobile Engineering

Automobile Engineering Lecture Notes for All Universities & Lab Manuals for All Semester-Free Download.

Computer Science

Computer Science Lecture Notes for All Universities & Lab Manuals for All Semester-Free Download.

Information Technology

Information Technology Lecture Notes for All Universities & Lab Manuals for All Semester-Free Download.

MBA

MBA Lecture Notes for All Universities & Lab Manuals for All Semester-Free Download.

Biotechnology

Biotechnology Lecture Notes for All Universities & Lab Manuals for All Semester-Free Download.

Biomedical

Biomedical Lecture Notes for All Universities & Lab Manuals for All Semester-Free Download.

Aeronautical Engineering

Aeronautical Engineering Lecture Notes for All Universities & Lab Manuals for All Semester-Free Download

Chemical Engineering

Chemical Engineering Lecture Notes for All Universities & Lab Manuals for All Semester-Free Download.

Electronics & Communication

Electronics & Communication Engineering Lecture Notes for All Universities & Lab Manuals for All Semester-Free Download.

Electrical & Electronics

Electrical & Electronics Lecture Notes for All Universities & Lab Manuals for All Semester-Free Download.

MCA

MCA Lecture Notes for All Universities & Lab Manuals for All Semester-Free Download.

B.Sc

B.Sc All Branches (Maths/Physics/Computer Science/Electronics/etc.,)-Lecture Notes-Free Download

BCA

BCA Lecture Notes for All Universities & Lab Manuals for All Semester-Free Download.

BBA

BBA Lecture Notes for All Universities & Lab Manuals for All Semester-Free Download.

M.Sc

M.Sc All Branches (Maths/Physics/Computer Science/Electronics/etc.,)-Lecture Notes-Free Download

M.Com

M.Com Lecture Notes for All Universities & Lab Manuals for All Semester-Free Download.

Engineering Maths

All Semester Engineering Maths (M1/M2/M3/M4/etc.,) Lecture Notes-Free Download

Engineering EBooks

All Engineering Branches of ebooks Free Download-Complete Details.

Engineering Physics

All Semester Engineering Physics Lecture Notes-Free Download

GATE Preparation Books

All Branches of GATE Free Preparation eBooks-Free Download.

Engineering Chemistry

All Semester Engineering Chemistry Lecture Notes-Free Download

Software Companies Info

All Software Companies in India - Complete Details.

Admission

Foreign Universities All Course Admission Procedures-Complete Details.

Software Ebooks

All Programming Software free Eboooks-Free Download.

Web Hosting

All Web Hosting Procedure-Complete Details.