LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-27-2012, 01:24 PM   #1
booboo84
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Rep: Reputation: Disabled
Linux dust bin shell scripting


000

Last edited by booboo84; 12-02-2012 at 05:37 AM. Reason: 000
 
Old 11-27-2012, 04:56 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello booboo84, welcome to LQ,

how about your knowledge about Linux and shellscripting? as you know, per our forumrules we don't do your homework, you should instead post some code which you've written so far, then we can help you.

Some thoughts about your problem: the second point is relatively easy to achieve with deleting the content of the dustbin-directory.
In order to get point three done you will have in point one to store the information from where the file has been moved to the dustbin. How would you do this? which information do you need and how can you get it, how can you store it?

A useful guide to shellscripting is here: http://tldp.org/LDP/abs/html/

Markus
 
Old 11-28-2012, 02:06 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Also, if you scroll down to the bottom to 'Similar Threads', the first link is https://www.linuxquestions.org/quest...re-4175438482/, although you should really try to do it yourself first.

In addition to markush's link, see also
http://rute.2038bug.com/index.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
 
Old 11-28-2012, 02:32 AM   #4
booboo84
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks

Last edited by booboo84; 12-02-2012 at 05:38 AM.
 
  


Reply



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
[SOLVED] Shell Scripting for Recycle Bin. Delete,Trash,Restore mohitnarula Linux - Newbie 27 11-27-2012 03:27 PM
/usr/bin/time Shell Scripting Function solo2 Programming 7 10-12-2011 04:25 AM
shell scripting on linux ibabhelix Linux - Newbie 22 11-02-2009 03:33 AM
teaching shell scripting: cool scripting examples? fax8 Linux - General 1 04-20-2006 04:29 AM
Linux Shell Scripting yaadhav Linux - Newbie 4 08-20-2005 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:57 AM.

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
Open Source Consulting | Domain Registration