help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Bash Guide for Beginners


From: Greg Wooledge
Subject: Re: [Help-bash] Bash Guide for Beginners
Date: Mon, 22 Dec 2014 08:49:12 -0500
User-agent: Mutt/1.4.2.3i

On Mon, Dec 22, 2014 at 08:48:35AM -0500, Greg Wooledge wrote:
> On Mon, Dec 22, 2014 at 04:41:54PM +0300, Abeer Saleh wrote:
> > 
> > Write a script that implements a simple web browser (in text mode), using 
> > wget and links -dump to display HTML pages to the user.
> 
> This is stupid.  If lynx is available, just run lynx.  Let the user
> interface directly with lynx.
> 
> > I did not understand the meaning question
> > -------------------------------
> > Write a script to list the files in your home directory that were changed 
> > less that 10 hours ago, using grep, but    leave out directories.
> 
> Ignore the "using grep" part.  That would be stupid.
> 
> > find ~ -mmin -600 
> > I think we are using FIND command
> 
> If you are allowed to use GNU extensions (like -mmin), that looks like
> a good solution.  But you also want "-type f" to satisfy the "leave out
> directories" part.
> 
> (Unless "leave out directories" was supposed to mean "do not recurse",
> in which case all bets are off.)
> 
> > But here's request using GREP command. How?
> 
> Don't do it.  Ignore that part of the question, because this question
> was written by an idiot.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]