Search found 408 matches

by drgrussell
Fri Feb 06, 2015 3:51 pm
Forum: Tutorial Support
Topic: I got deleted
Replies: 2
Views: 6248

Re: I got deleted

Thats normal and can happen at any time.
However there is always a button at the start of each tutorial which resets the files and users in a way suitable for the tutorial you are doing.
I dont guarentee file storage, as this is just a free service.

Gordon.
by drgrussell
Thu Jan 08, 2015 11:47 am
Forum: Tutorial Support
Topic: unable to solve question 12 in tutorial 5 (pipes)
Replies: 2
Views: 6679

Re: unable to solve question 12 in tutorial 5 (pipes)

Are you in /home/demo?
Are you user demo?
You should always put the *.conf in quotes...
Hope that helps.
by drgrussell
Thu Dec 11, 2014 9:13 am
Forum: Tutorial Support
Topic: Unable to "grep" on /etc directory, tutorial 5
Replies: 4
Views: 8743

Re: Unable to "grep" on /etc directory, tutorial 5

http://linuxzoo.net/page/manipulate_pipe.html

Build the data with the ls command then pipe it to the grep.
by drgrussell
Tue Dec 09, 2014 10:40 am
Forum: Tutorial Support
Topic: Unable to "grep" on /etc directory, tutorial 5
Replies: 4
Views: 8743

Re: Unable to "grep" on /etc directory, tutorial 5

Use the ls -l command to see the dates, and then pipe it to grep.
by drgrussell
Mon Oct 20, 2014 6:36 pm
Forum: Bug reports
Topic: Problem to connect to the site system
Replies: 2
Views: 6774

Re: Problem to connect to the site system

Thats an unusual problem which I have not had before. The line in linuxzoo with the error is to do with encoding or checking passwords. These are composed of your password, and a seed of your other details, such as email address, username, lastname, etc. Perhaps one of those things (e.g. your name o...
by drgrussell
Sat Oct 18, 2014 7:13 pm
Forum: Tutorial Support
Topic: Caine Tuts - More GREP and REGEXP
Replies: 6
Views: 11445

Re: Caine Tuts - More GREP and REGEXP

Well strictly speaking it says "the same characters", and characters "a" and "A" are actually different characters, so case sensitivity seems something you need.
But in reality I am always aiming for the simplest answer.
I will add something into the words of the question.
Kind Regards
Gordon.
by drgrussell
Fri Oct 17, 2014 7:05 pm
Forum: Tutorial Support
Topic: Caine Tuts - More GREP and REGEXP
Replies: 6
Views: 11445

Re: Caine Tuts - More GREP and REGEXP

I wonder...
I didn't use -i myself...
by drgrussell
Fri Oct 17, 2014 7:03 pm
Forum: Tutorial Support
Topic: Caine Tuts - Question 3 - GREP and REGEX
Replies: 7
Views: 11716

Re: Caine Tuts - Question 3 - GREP and REGEX

Yes. Its not been my best day...
I will fix this next week...
G.
by drgrussell
Fri Oct 17, 2014 9:05 am
Forum: Tutorial Support
Topic: Caine Tuts - Question 3 - GREP and REGEX
Replies: 7
Views: 11716

Re: Caine Tuts - Question 3 - GREP and REGEX

Hi. What I am saying is [^aeiou] or anything similar is incorrect, as it assumes the characters in between are not vowels themselves, and this is not something asked for in the question. Rather than [^aeiou], how about .* ? You are also confused by "*". You have one right at the start, but "*" opera...
by drgrussell
Mon Oct 13, 2014 5:46 pm
Forum: Tutorial Support
Topic: Linux Tuts - PIPES - Question 10
Replies: 2
Views: 6730

Re: Linux Tuts - PIPES - Question 10

Again here the tutorials are designed for the course I am teaching, which does not cover -S.
The intention here is to use sort.
The problem lies in when the sizes are identical, in which case ls and sort may have different opinions as to which order is best.
G.
by drgrussell
Mon Oct 13, 2014 5:43 pm
Forum: Tutorial Support
Topic: Caine Tuts - More GREP and REGEXP
Replies: 6
Views: 11445

Re: Caine Tuts - More GREP and REGEXP

The tutorials are designed only for a restricted set of regexp parameters.
Althought \w seems natural, my students have not been taught it, and it stops some matches.
I envisaged "." rather than "\w".
(..) and then just \1 seems nicer.
by drgrussell
Fri Oct 10, 2014 8:53 am
Forum: Tutorial Support
Topic: Caine Tuts - Question 3 - GREP and REGEX
Replies: 7
Views: 11716

Re: Caine Tuts - Question 3 - GREP and REGEX

sacrilegious
a e iou

Seems fine to me.
I didnt say that it could only have 5 vowels in total, only that 5 appeared in order...
Gordon.
by drgrussell
Tue Oct 07, 2014 7:03 pm
Forum: Tutorial Support
Topic: Caine Tuts - Question 3 - GREP and REGEX
Replies: 7
Views: 11716

Re: Caine Tuts - Question 3 - GREP and REGEX

[aeiou] would find vowels. Separate with .*

I expect it means 2 characters...
by drgrussell
Wed Oct 01, 2014 5:26 pm
Forum: Linux Discussions
Topic: RegExp Doubts
Replies: 2
Views: 6754

Re: RegExp Doubts

grep -E "^something" | grep -E '^.{11}$'

otherwise you have to subtract the length of "something" from 11, and do "^something.{remainder}$" where remainder is the result of the calculation...
by drgrussell
Tue Sep 30, 2014 9:06 pm
Forum: Tutorial Support
Topic: Caine Tuts - Question 1
Replies: 4
Views: 6676

Re: Caine Tuts - Question 1

Looks fairly good..
Is thecopy a directory, and if so was it empty when you ran this find command??
But most importantly you sure the units is b? You sure it is not c for character?

One question per forum topic pls.
Gordon.