Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forgot Unix Commands!! Please Help!!! 2

Status
Not open for further replies.

Nunina

Programmer
Mar 5, 2003
128
PR
Hello:

I need a rush refreshing course in Unix Commands!!! I haven't used Unix in soooo long, I don't remember anymore!!!

For example, I need to put a file that is in my computer into the Unix Server. HOW DO I DO THAT????

I am completely clueless. Please Help!!!!

Thanks a lot!

Nunina
 
ftp UnixServer
put myFile vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
From where do I run the FTP? I access my Unix Server using telnet... after I log in, I have no clue what else to do.

The file is in my computer, and I need to load it to Unix.

Thanks!

Nunina
 
your run it from your 'source' system - the system you access the UnixServer from [with telnet].

First, see if you have an ftp slient available on your 'source' system. vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
Visit and download a copy of AbsoluteFTP.
You then will have a method of transfering files to and from your PC and the Unix server.
HTH Dickie Bird (:)-)))
 
Still can't. It gives me a user error.

So, what now?

Thanks,

Nunina
 
Ok! Thanks Guys! I did it. But I had to use another folder in the unix server.

Now, I need to delete all the data that is inside a txt file in the Unix Server. I just need the commands. I don't remember any, except ls, ls -l, cd .., etc... :)

Nunina
 
to remove files...
rm filename

A way to remove data from a file...
cp /dev/null > filename.txt
 
or to remove data and preserve rights..

cat /dev/null > filename.txt
 
or simply:
>| file.txt vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
It might be more productive for you if you got a good book on unix commands. That would be a lot faster than asking how to do every little thing here.

&quot;Unix in a Nutshell&quot; on O'Reilly press is pretty complete and covers a lot of topics.

Also, there are we sites (i.e. ) that can help you.

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top