Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    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
    conwy
    @conwy
    Thanks
    ReeceAH
    @ReeceAH
    Just wondering with the mystery script;
    I have created a huge script that creates files and folders. Am I going to be running that so then I have all the folders & files created, then create a script for the game then upload the files, folders and script or am I going to upload everything including the script that creates a directory?
    Dan Prince
    @danprince
    You need to upload everything we need to play the game
    Don't send us anything that that your script will generate
    ReeceAH
    @ReeceAH
    Okay then, I just didn't want to have such a long script that's all, but I'll make sure everything's there.
    Dan Prince
    @danprince
    Not all the data needs to be in one script
    But if you are keeping some data separate
    Remember to submit it too
    ReeceAH
    @ReeceAH
    Okay, it's only because I have a Hints folder with it's own files, then Extras folder that holds a script for randomising the outcomes, there's other stuff too but when writing text files it's taking up a lot of space on the screen.
    Mjlilj
    @Mjlilj
    are you guy in today so we can ask for help??
    Dan Prince
    @danprince
    Afriad not, but we'll be in this gitter channel
    Mjlilj
    @Mjlilj
    I dont really know what to do. I created files but apprently i need to do bash which i never understood
    Dan Prince
    @danprince
    It's quite late in the course to be telling us that for the first time