Your SlideShare is downloading. ×
Unix made easy
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Unix made easy

150
views

Published on

Unix Notes

Unix Notes


0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
150
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Logged in = What to do Who= who logged into the system The users and hosts Pwd =print woring directory= lists the current working directory Ls = lists all the directories files and sub directories –f –r and other options to remove the unwanted expressions that also come in the result Handling Files Head [ -10] file1 = Shows the first 10 lines of the file More file1= Shows more content of the file Tail file1 = Shows the lasat few lines of the file Ed file1 = Editor for the file to create/edit Sed = Stream editor for editing the file Vi = Editing the file and saving it Mv file1 to file2 = Move the file into another Cp file1 file2 = Write contents od file1 into file2 Awk file1 = Search for patterns in the file and process the results Handling Directories Chown = Change ownership of the Chmod = Change file or directory access permissions Mkdir = Creating new directory Rmdir = Removing the directory Handling Processes Ps = show the active processes involved Kill #pid = kill the process with specified pid String Manipulation Commands
  • 2. Grep ‘search string’ file1 = Search for the occurance of the string in the file Wc file1 = Find the number of words in the file Server Connection Commands telnet [host port ] =Used to communicate with other hosts present in the server. ftp host = Transfer files using file transfer protocol