Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    GeorgeKouk
    @GeorgeKouk
    And for the first lecture (UNIX history) do you want us to remember the dates? (since there isn't much else to learn)
    Dan Prince
    @danprince
    Good catch. Not sure how that typo made it past the lecture. There are actually more than 3 modes, but only 3 main ones. We'll make sure there are no class test questions that rely on this though.
    You won't be expected to remember dates, but knowing a little about each of the distributions is useful, as well as the difference between FreeBSD and Linux
    GeorgeKouk
    @GeorgeKouk
    ok thanks!
    BenRbtz
    @BenRbtz
    This message was deleted
    deliriou
    @deliriou
    Will you be testing the assignments on terminal only, or are you planning on using xWindows? (i'm planning on using an image in the assignment)
    Noah
    @eeue56
    Terminal only was the original plan
    deliriou
    @deliriou
    Ok, thankyou
    Noah
    @eeue56
    Look into converting images into ASCII :)
    There are many programs that will do it for you and there's many cool examples
    The most famous being an ASCII rendition of star wars, though I don't remember if that was done manually or not
    deliriou
    @deliriou
    alright, ok. Thankyou
    Dan Prince
    @danprince
    For anyone that's interested, if you ssh into a Linux box, or install telnet on windows then you can run telnet towel.blinkenlights.nl to watch Star Wars in ASCII
    conwy
    @conwy
    Hi. For the assignment, if we have a setup script made of quite a few functions, would you prefer us to make the functions into separate bash scripts?
    Dan Prince
    @danprince
    Only if the functions are very large
    >30 lines
    conwy
    @conwy
    Thanks
    ReeceAH
    @ReeceAH
    Is there a solution somewhere for that Julian Asange random thing?
    Dan Prince
    @danprince
    We haven't released one, but I'm sure someone in here could share their solution with you?
    Noah
    @eeue56
    @conwy - Follow your intuition. It should almost never be a case of a single function per file. Group related functions and functionality.
    ReeceAH
    @ReeceAH
    Okay then, well if anyone sees this then could they share the script of randomising names, my username is eeu49f (for my email just in case I'm not on here)
    deliriou
    @deliriou
    random question, is it possible to change the font size within the unix prompt?
    Noah
    @eeue56
    Yup
    Which terminal emulator are you using?
    Noah
    @eeue56
    If you want to set it everywhere, including on other TTYs, then look at the setfont command - http://linux.die.net/man/8/setfont
    scottyblizz
    @scottyblizz
    hey, can you make it so we can re-submit the assignment on blackboard? I submitted an older version :\ lol
    Dan Prince
    @danprince
    Just updated on Blackboard
    rfrenchBangor
    @rfrenchBangor
    @danprince helloo, do you know roughly when we will get our marks back for lab 6?
    Dan Prince
    @danprince
    Hopefully it will be by the end of tomorrow
    Liam should let you know in the lecture tomorrow
    rfrenchBangor
    @rfrenchBangor
    @danprince cool cheers :)
    GeorgeKouk
    @GeorgeKouk
    I have a question, will you be marking the mystery based on the complexity of the commands used in the scripts (made by us) or the complexity of the commands that the user (you) has to perform in order to solve it?
    Dan Prince
    @danprince
    Both
    If you used complex commands, but all we need is cat, then that will count against you
    Vice versa, if you just used mkdir and touch and we're expected to be using awk/sed/grep for everything
    Try and find a good balance
    GeorgeKouk
    @GeorgeKouk
    Oh well it's the opposite actually, I have used a lot of commands in the scripts but the users as to cd/read/execute scripts...
    Dan Prince
    @danprince
    In that case, try and make it a bit more challenging for the user, in terms of commands
    GeorgeKouk
    @GeorgeKouk
    Yeah I'll try to :) thanks
    Dan Prince
    @danprince
    If you have a file which is easy for us to read
    Maybe trying adding a lot more content to it, so that we have to grep to find what we're looking for
    GeorgeKouk
    @GeorgeKouk
    that's a good idea
    deliriou
    @deliriou
    Hey, I seem to be having a problem with my check command. Whenever I try to put the correct name in, it keeps giving me ./check: 3: ./check: =: not found
    ./check: 5: [: unexpected operator
    Any ideas why?
    Dan Prince
    @danprince
    Can you put your code in a gist? Can't do much without seeing it
    Noah
    @eeue56
    @deliriou that looks like an error due to incorrect whitespace and syntax
    But put it in a gist so we can see.
    Just in case anyone gets a similar problem, have a read of this - http://www.tldp.org/LDP/abs/html/comparison-ops.html
    conwy
    @conwy
    Hi. If we are submitting files from a Windows machine, how can we make the setup and check file executable?
    Dan Prince
    @danprince
    Make them executable on the server, then zip them all, then transfer that zip to windows to submit