Friday, February 22, 2013

How to write a UNIX shell utility to find a matching filename in the current directory?

Q. How do I do this?

Write a utility that acts as a front end to find, this utility takes the name of a file as its single parameter and displays the full pathname of every matching filename, searching downwards from the current directory.

It's supposed to be done in C-shell in UNIX. But I really have no idea how to do this. Any help would be appreciated. Thank you.

A. I think Unix (officially trademarked as UNIX, sometimes also written as Unix with small caps) is a computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs, including Ken Thompson, Dennis Ritchie, Brian Kernighan, Douglas McIlroy, and Joe Ossanna.

How to transfer folder from Mac to unix server?
Q. I am running OSX and using Terminal to ssh connect to a remote unix server. I need to transfer a folder containing files from my Mac to my account on the unix server. Should I sftp or stay in ssh? What commands do I use to transfer the folder? Any help would be appreciated.

A. You can use either sftp or scp.

sftp is an interactive session, similar to the following:

you@OSX $ sftp user@unix_server

sftp> cd <target_dir>

sftp> put <directory_to_be_copied_to_unix>

sftp> exit


Alternatively, you can use scp to copy the files from OSX to Unix server

you@OSX $ scp -rp <directory_to_be_copied> user@unix_server:/<destination_folder>

How do i send a file from unix to windows server using ftp or windoes ?
Q. How do i send a file from unix to windows server using ftp or windows ?

A. You provided very little information.

If you can FTP then I assume both computers have an internet connection.

Simply upload to the FTP site with Unix and download with Windows.

Did you know that Internet Explorer has a built-in FTP client?

It works just like an Explorer window. Just copy and paste or drag and drop.

If you don't have a good FTP location, you can transfer large files with YouSendIt.com.

OK?



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment