[game] Commands role play - Printable Version +- nixers (https://nixers.net) +-- Forum: General (https://nixers.net/Forum-General) +--- Forum: Community & Forums Related Discussions (https://nixers.net/Forum-Community-Forums-Related-Discussions) +--- Thread: [game] Commands role play (/Thread-game-Commands-role-play) |
[game] Commands role play - josuah - 15-04-2016 I propose a new forum game: Most of us may use an unix system daily, and use the same commands over and again. For <code>ls</code>, I expect a list of directories and files, for <code>uname -A</code>, I expect some detailled name of the system. I propose this: post commands, running them against an imaginary UNIX system, and imagine the output ourself. Just like a role-play where each would write in turn: 1. the output of the previous command. 2. the next command to execute. Very simple example: Just after logging in: <hr/> Post 1 Code: $ pwd <hr/> Post 2 Code: Linux Code: $ pwd <hr/> Post 3 Code: /z/j/o/strawberries Code: $ tac .bash_history | sed 10q <hr/> And so on and so on... It should be rather easy at first, as we can "cheat" and have a look at our own system, but even if we do that, we may all have different systems in different states, and the challenge would then be to keep cohesion and keep the state of the system in mind. (Optional roleplay) Wrote:At the end of the day, no more work ahead, I came to next street coffe before coming home, waiting for my friend to join me here in about an hour. That was a rather old place, with a lot of things stacked in all corners, a glittering light caught my eyes. It was the blinking carret of a screen: a terminal. Why would it be there? I had to check. No one seemed to pay attention, so I came and grabbed the keyboard. Nothing on screen, but the mere prompt: Code: $ P.S.: I have no prefered formatting, as long as it is readable and that we have fun! Edit: It still would be better to tell whih command we are reffering to, to keep track of what is done. RE: [game] Commands role play - neeasade - 15-04-2016 This looks like fun -- as there was no initial command, I'm assuming I'll start with just that. Code: $ bash | rev RE: [game] Commands role play - thlst - 15-04-2016 Code: [user@localhost ~] Code: ls | wc -l RE: [game] Commands role play - pranomostro - 15-04-2016 Wew, having a difficult start. Result: Code: segamI Next code, a lot easier: Code: pwd Edit: Okay, this has become obsolete now. RE: [game] Commands role play - fuyuki - 15-04-2016 Code: pwd result: Code: resu/emoh/~:tsoh@resu;0] next: Code: rev .bashrc edit: this was intentional, lets make up a fake (hopefully interesting) bashrc RE: [game] Commands role play - josuah - 15-04-2016 There are multiple responses to thlst, so I propose to continue by quoting the command we are "answering" to. RE: [game] Commands role play - neeasade - 15-04-2016 okie. (15-04-2016, 02:11 PM)fuyuki Wrote: next: Code: # h t t p : / / n i x e r s . n e t let's get outta rev hell, folks. Code: [user@localhost ~] exit RE: [game] Commands role play - josuah - 15-04-2016 Nice! the srexin ASCII logo from orex! (15-04-2016, 02:19 PM)neeasade Wrote: [user@localhost ~] exit Code: exit In a NIXU system, there is always a 'de' command. Code: $ ed $(ls -a | head -1) EDIT: To make it match with the output of pranomostro, I had to add <code>-a</code> to <code>ls</code> as <code>ed</code> does not edit directories. RE: [game] Commands role play - josuah - 16-04-2016 Code: bash: ed: command not found It is really sad, but my Arch does not hav <code>ed</code> by default. Which shameful system is it? Code: uname -a RE: [game] Commands role play - josuah - 16-04-2016 (16-04-2016, 08:36 AM)sshbio Wrote: uname -a Code: You have mail in /home/user/mail/INBOX Damn! Aboriginal with toybox, so no <code>ed</code>, but <code>rev, wc -l, ls -a pwd</code> works. What if <code>/bin/bash</code> is a symlink pointing to <code>/bin/sh</code>? I've alwasy seen this symlink in the other direction. (15-04-2016, 02:03 PM)pranomostro Wrote: o4m.m.p857x323 | kečiČ jovalS ,secaps htiw emanoediv gnol oot yttihS Loled at the title. Is it him? https://fr.wikipedia.org/wiki/Slavoj_%C5%BDi%C5%BEek Build time! Code: cd $(dirname $(find / -name Makefile | sed -n 2p)) && make RE: [game] Commands role play - pranomostro - 18-04-2016 >Loled at the title. Is it him? Yes, it is. I just needed a name with non-ASCII characters. And I find he is quite interesting. Code: cd $(dirnam $(find / -name Makefile | sed -n 2p)) && make Code: {A lot of output by a C compiler, it seems} A few hours later: Code: #wow, that takes a long time to compile! RE: [game] Commands role play - josuah - 18-04-2016 (18-04-2016, 09:35 AM)pranomostro Wrote: make -B >/dev/null &; pwd Code: /usr/src/lunix Code: $ grep -r torvalds Linus are you here !? RE: [game] Commands role play - venam - 20-04-2016 (18-04-2016, 09:10 PM)sshbio Wrote: Weirdly only one file popped up... Code: readme.md:Let's hope torvalds doesn't find this! Code: > cd && netstat -tulpen RE: [game] Commands role play - josuah - 26-04-2016 Ah! I'm stuck! I need to learn about networking, and this is the occasion to get started. (20-04-2016, 01:07 AM)venam Wrote: cd && netstat -tulpen So I'll go with this: Code: Active Internet connections It's interesting, now I'll try to back it up so that I can study it elsewhere. How will I do this... Code: $ sudo^U mount RE: [game] Commands role play - venam - 27-04-2016 Code: $ sudo mount This replied Code: /dev/sda1 on / type ext4 (rw,errors=remount-ro) Let's try this...maybe there's an intruder: Code: > lastlog RE: [game] Commands role play - josuah - 03-05-2016 (27-04-2016, 12:45 AM)venam Wrote: > lastlog Code: Username Port From Latest Wait what? A very old user? Code: > sed -n /bkdr/ /etc/passwd |