Suppose you opened a file (eg. a binary file) in linux which is completely un-readable. There might be some useful words that you want to see. You can go for strings command.
This article will get you acquainted with one of the most useful and frequent editor in Linux system. You can learn the basic commands to work with VI Editor.
Inside Vi Editor, how we do the editing, saving, deleting etc.
To open a file with vi editor, use vi filename . If filename exists it will open in edit mode and if its not present, an blank page will open with file name at the bottom.
Now inside editor, there are three modes of working:... Read more »
lwp-download command is used to fetch large files from the web
Format:
lwp-download [-a] <url> [<local path>]
DESCRIPTION
The lwp-download program will save the file at url to a local file.If local path is not specified, then the current directory is assumed.
If local path is a directory,
SCP is a program used to copy files between hosts on a network. It uses ssh(1) for data transfer, and uses the same authentication and provides the same security as ssh(1). Unlike rcp(1), scp will ask for passwords or passphrases if they are needed for authentication.
Any file name may contain a host and user specification to indicate that the file is to be copied to/from that host. Copies between two remote hosts are permitted.
To send a mail from linux terminal to any one, you need to follow below steps:
1. Create a directory Mail in "/home/username/Mail"
2. Enter the command "mutt". you will get a GUI in your linux terminal First-Image
3.Press "m". The the terminal will prompt you to enter "To" field.
Enter the recipient address, press Enter
4. The the terminal will prompt you to enter "Subject" field.
Enter the subject, press Enter
5. Now it will go the vi editor. Press "i" to go into insert mode.
Here, type the body of mail.
press escape to exit insert mode
press ":wq" to save and exit
6.Now you should see this screen
7. To put some one in CC, press "c"
... Read more »