Your SlideShare is downloading. ×
0
- BY MANISH BOTHRA LINUX COMMANDS
Mkdir  -  Create new folder
cd  -  Change Directory
Cd -  -  Go to home directory
Cd  -  Go to previous directory
ls  -  List information about file
Ls -a  -  show all hidden files
Cat> filename  -  To create a  file
Cat filename  -  to view the content of the file.
date – To view the date.
Cal  -  Displays a calendar
echo  -  Display message on screen
cat>> filename  -  Appends the data
Cat  file1.txt  file2.txt  -  Displays data of both the files.
Cat  file1.txt  file2.txt  -  Concatenate two files
Alias  -  Create an alias
who  -  Print all usernames currently logged in
Help  -  Display help for a built-in   command
Pwd  -  Prints Working Directory
Head filename  -  Output the first part of file
tail  filename  -  Output the last part of files
Command  -  Run a command - ignoring shell functions
egrep  -  Search file for lines that match an extended expression
fgrep  -  Search file for lines  that match a fixed string
History  -  displays History
History -a  -  Append the new history  lines to the history file
Id  -  Print user and group id's
THANK YOU
Upcoming SlideShare
Loading in...5
×

Linux commands

740

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
740
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
51
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Linux commands"

  1. 1. - BY MANISH BOTHRA LINUX COMMANDS
  2. 2. Mkdir - Create new folder
  3. 3. cd - Change Directory
  4. 4. Cd - - Go to home directory
  5. 5. Cd - Go to previous directory
  6. 6. ls - List information about file
  7. 7. Ls -a - show all hidden files
  8. 8. Cat> filename - To create a file
  9. 9. Cat filename - to view the content of the file.
  10. 10. date – To view the date.
  11. 11. Cal - Displays a calendar
  12. 12. echo - Display message on screen
  13. 13. cat>> filename - Appends the data
  14. 14. Cat file1.txt file2.txt - Displays data of both the files.
  15. 15. Cat file1.txt file2.txt - Concatenate two files
  16. 16. Alias - Create an alias
  17. 17. who - Print all usernames currently logged in
  18. 18. Help - Display help for a built-in command
  19. 19. Pwd - Prints Working Directory
  20. 20. Head filename - Output the first part of file
  21. 21. tail filename - Output the last part of files
  22. 22. Command - Run a command - ignoring shell functions
  23. 23. egrep - Search file for lines that match an extended expression
  24. 24. fgrep - Search file for lines that match a fixed string
  25. 25. History - displays History
  26. 26. History -a - Append the new history lines to the history file
  27. 27. Id - Print user and group id's
  28. 28. THANK YOU
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×