LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-20-2009, 04:57 AM   #1
maryam.sf
LQ Newbie
 
Registered: Apr 2009
Location: Switzerland
Posts: 3

Rep: Reputation: 0
Question clear empty folders of client computers by linux


Hi every one

I'm new in Linux question web page I just wanted to say hello and also ask a question about my problem.

I need to delete or clear Temp folders of the client computers in lab(13) by Linux server computer. I don't know how I can do it actually I'm beginner in Linux.

Thanks

Last edited by maryam.sf; 04-20-2009 at 05:09 AM.
 
Old 04-20-2009, 07:06 AM   #2
sahabcse
LQ Newbie
 
Registered: Mar 2009
Location: colachel
Posts: 7

Rep: Reputation: 0
Login to the client server via ssh or telent

then moved to the temp folder

#cd /temp
#pwd
/tmp

then run #rm -rf *

Note: Before running rm commnad ensure you are in temp folder.
 
Old 05-04-2009, 10:27 AM   #3
maryam.sf
LQ Newbie
 
Registered: Apr 2009
Location: Switzerland
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks a lot for your answer

I tried to apply your commands on the terminal window in server computer:
When I enter ssh then I just receive some lines contain some info. like [D report],[/e scap-char]and so on then I come back to command line automatically. I think when I can not apply the first part, going to next commands which you recommended doesn't make sense.
Therefor my problem still exist!!
 
Old 05-04-2009, 01:45 PM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,075

Rep: Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713
Quote:
Originally Posted by maryam.sf View Post
Thanks a lot for your answer

I tried to apply your commands on the terminal window in server computer:
When I enter ssh then I just receive some lines contain some info. like [D report],[/e scap-char]and so on then I come back to command line automatically. I think when I can not apply the first part, going to next commands which you recommended doesn't make sense.
Therefor my problem still exist!!
Ok, but if you don't post the exact error(s) you're getting, it's hard to give you any help. What program are you in when you try to type those commands? What user ID are you logged in as?
 
Old 05-05-2009, 05:42 AM   #5
chitambira
Member
 
Registered: Oct 2008
Location: Fife
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 49
are the client computers linux?(where you want to delete temp folder contents)
How do you connect to them remotely?
 
Old 05-06-2009, 12:36 PM   #6
maryam.sf
LQ Newbie
 
Registered: Apr 2009
Location: Switzerland
Posts: 3

Original Poster
Rep: Reputation: 0
Hi

The client computers are XP windows and the server is red hat linux. I would like to delete the files which are in Temp folders on the clients computers. Usually I enter to linux by a simple password and open terminal window then start to apply my request like add new user name for some body as a login password for using client computers and so on.
I hope i could answer to your question.

Thanks
 
  


Reply

Tags
clear, empty, folders


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kubuntu creates empty folders in my home dir bhert Ubuntu 3 06-26-2008 01:59 PM
Samba shares show empty folders Venefyxatu Linux - Wireless Networking 8 06-18-2008 02:50 AM
viewing network computers and shared folders dpbatagoda Linux - Newbie 1 12-05-2003 05:08 AM
using gui browser with samba turns up empty shared folders wlfdgcrkz Linux - Software 1 04-25-2003 02:56 AM
pkgtool and empty folders jstef Slackware 2 02-04-2003 10:06 PM


All times are GMT -5. The time now is 02:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration