unix questions


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers unix questions
# 1  
Old 05-13-2008
unix questions

Hi

I got asked over the phone for interview
can anyone answer the following

#1 What is the command to copy files from 1 Unix machine to another Unix machine, providing that the 2 machines are in the same network.

I think its cp, what is the one machine to another machine thing


#2 How to list dynamic dependencies of executable files or shared objects?

#3 What is one of the disadvantages of using symbolic link?
# 2  
Old 05-13-2008
Hi,

Let me try to answer your questions.

#1 What is the command to copy files from 1 Unix machine to another Unix machine, providing that the 2 machines are in the same network.

Ans: SCP should be the way to do it.


#2 How to list dynamic dependencies of executable files or shared objects?

Ans: ldd --> list dynamic dependencies of executable files or shared objects. Check out man page of ldd for more info.

#3 What is one of the disadvantages of using symbolic link?

Ans: I guess it is about softlink , then one disadvantage can be "it can be linked with the file which is not existing actually".

If it is for Hardlink then one disadvantage would be "It can not cross file system".

PS: Plz correct me if am wrong. Smilie
# 3  
Old 07-20-2008
Answers

1) if you want ot copy file from machine1 to machine 2 and if they are connected then you should use ftp to connect to machine1 to machine2 and fetch the file. Hope this is the answer if wrong please correct. Smilie
# 4  
Old 07-22-2008
MySQL Remote copy

Hi,

To copy a file from another host use the command:
rcp source_file destination_fileThe source file is given as:
system_name:filenameWhen given as a relative pathname, the filename is interpreted relative to your home directory on the remote host.



To copy a file from your home directory on another host to your current directory on your local host:
rcp goya:notes part1.txtTo copy a file from a subdirectory in your account on a remote host to a subdirectory on your local host:
rcp ubik:gnu/rcs/README tmp/gnu_READMETo copy a file from a remote host on which you have an account under another username:
rcp joe@pollux:News/alt.hypertext tmp/hypertextThanks & RegardsVijay.Smilie
# 5  
Old 07-22-2008
How can I Start New Question

How can I start new question and new topic.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

Unix Questions

I need help for the following questions: 1. What are the advantages and disadvantages of using ACLs versus ordinary Unix file permissions? 2. Describe three methods for automating system administration tasks. Discuss the time taken to do things manually versus creating automatic systems.... (3 Replies)
Discussion started by: ravian97
3 Replies

2. Shell Programming and Scripting

unix questions

Hello, Hello, Can any one tell me the answer of these questions attached in the document. The competition was over and I wanted to know correct answers. (6 Replies)
Discussion started by: bits1904
6 Replies

3. SCO

some questions about UNIX 5.0.6 , Help me please

Dear friends I'm really new comer to this place and to this subject you will make me so happy if you help me about these questions: 1- I must install UNIX 5.0.6 because one of my work software will works ONLY on this version , so , I want to know WHERE CAN I DOWNLOAD A COMPELETE PACKAGE OF... (2 Replies)
Discussion started by: mrr53
2 Replies

4. UNIX for Dummies Questions & Answers

2 Unix questions

If I wanted to do the following things to all the files in a directory how could I do it. Make all the files in a directory and in its sub directories to hidden status and make a different directory and all its sub directories copy inhibit. I am really stumped and have been looking through the... (8 Replies)
Discussion started by: kaka
8 Replies

5. What is on Your Mind?

Questions about Unix/Linux

Hello all. Im a young lad with very limited experience with computers, even though I have been playing with them the past 5 years. I have the experience of the random World of Warcraft player that plays games all day. I have a huge interest in learning everything about computers and I was... (5 Replies)
Discussion started by: Vallzi
5 Replies

6. UNIX for Dummies Questions & Answers

New To Unix - Some Questions!

1) Can a script be made to ignore all signals. 2) Does the parent process always picks up the exit status of its children. 3) Can one program give rise to multiple processes. 4) Is a file is synonymous with a process. 5) Is the kill command only used to kill a running process. (1 Reply)
Discussion started by: yahoo14
1 Replies

7. UNIX for Dummies Questions & Answers

unix mail questions

Hi All, Im trying to send a .ZIP file in an email message using mail or mailx. What is the easiest way to do this? Thanks! UPDATE: I used the following command which didnt work mailx -s {my subject} {xxxxx@ssss.com} < /var/tmp/file.zip (3 Replies)
Discussion started by: lewisoco
3 Replies

8. UNIX for Dummies Questions & Answers

Some UNIX Questions!

1. Someone pings a server from another location and gets a different result than if you ping the same server onsite. What is going on? 2. You know the reason the server won't boot is because of ODS, but the root partition isn't on ODS. How do you go about fixing it? 3. How would you truncate... (1 Reply)
Discussion started by: JoeTheMan
1 Replies

9. UNIX for Dummies Questions & Answers

I have a few questions about Unix..

Hi I have just a few questions about the Unix aka NIX operating system. 1. Is it a free Operating System and if so where can I obtain it. 2. Where can I start out for a newbies guide to the OS. Thanks (1 Reply)
Discussion started by: SolidWing68
1 Replies
Login or Register to Ask a Question