Share
Explore BrainMass

How to Use Unix Command Line Programs grep, md5sum, man, etc

How can I run the following commands on a remote Linux server using putty or Secure Shell Client (SSH secure Shell)
grep,
md5sum,
man,
cat,
ls,
xxd,
dd,
sha1sum, Strings

also how can I use this command on some files in the remote unix server?.
How can I access a folder in the unix server using this SSH secure Shell?

detailed step by step report is required

Solution Preview

Solution:
Q. How can I run the following commands on a remote Linux server using putty or Secure Shell Client (SSH secure Shell)

a) SSH Client: Obtain an SSH client for Window:
Download and install the latest version of SSH Secure Shell for Workstations from http://www.ssh.com.
Read the instructions. You can either click on Start->SSH Secure Shell->SSH Secure shell (recommended) or Run a command either from the Run dialog (Start menu, Run..., Open)
or from an MS-DOS prompt (Start menu, Programs, MS-DOS Prompt). Remote logins and remote execution of interactive commands should not be run from a Run dialog
or MS-DOS prompt because an MS-DOS prompt does not provide useful terminal emulation. Instead, run sshclient -u username -h hostname, which provides its own terminal emulation.

b) PuTTY : PuTTY is another program that allows you to connect securely to another computer over the internet. Download PuTTY from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html.
This does not require any installation. Just save it in a folder and start using it. Although it is intuitive, you can follow the example given in http://taxa.epi.umn.edu/putty/putty.html
to
configure and execute puTTY.

Q. How can I use this command on some files in the remote unix server?

You need to have an account in the unix server. Please contact the system administrator of the remote unix server if you want to know more about setting up an account. Once you have an account
connect using either SSH client or putty. Use your username/password for the remote server. If a dialog box asks you to save key, save it. It generally means that the ssh public key of the
remote host is kept locally for identification purposes.

Q. How can I access a folder in the unix server using this SSH secure Shell?
sshclient /f will run an scp client which is similar to Windows Explorer. ...

Solution Summary

Gives a detailed step by step instruction on each of the following Unix commands
grep,
md5sum,
man,
cat,
ls,
xxd,
dd,
sha1sum, Strings

$2.19