Has anybody ever done a usability study on the Linux CLI interface?



  • Re: blakeyrant

    user@host ~> mongodb
    fish: Unknown command “mongodb”
    No command 'mongodb' found, did you mean:
     Command 'mongod' from package 'mongodb-server' (universe)
    mongodb: command not found
    user@host ~> mongod
    fish: Unknown command “mongod”
    The program 'mongod' is currently not installed. You can install it by typing:
    sudo apt-get install mongodb-server
    user@host ~> sudo apt-get install mongodb-server
    [sudo] password for user: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
      libboost-filesystem1.49.0 libboost-system1.49.0 mongodb-clients
    The following NEW packages will be installed:
      libboost-filesystem1.49.0 libboost-system1.49.0 mongodb-clients mongodb-server
    0 upgraded, 4 newly installed, 0 to remove and 40 not upgraded.
    Need to get 20.8 MB of archives.
    After this operation, 52.0 MB of additional disk space will be used.
    Do you want to continue [Y/n]? 
    Get:1 http://mirrors.se.eu.kernel.org/ubuntu/ quantal/universe libboost-system1.49.0 amd64 1.49.0-3.1ubuntu1 [14.9 kB]
    Get:2 http://mirrors.se.eu.kernel.org/ubuntu/ quantal/universe libboost-filesystem1.49.0 amd64 1.49.0-3.1ubuntu1 [52.9 kB]
    Get:3 http://mirrors.se.eu.kernel.org/ubuntu/ quantal/universe mongodb-clients amd64 1:2.0.6-1ubuntu4 [16.5 MB]
    Get:4 http://mirrors.se.eu.kernel.org/ubuntu/ quantal/universe mongodb-server amd64 1:2.0.6-1ubuntu4 [4,226 kB]
    Fetched 20.8 MB in 6s (3,044 kB/s)
    Selecting previously unselected package libboost-system1.49.0.
    (Reading database ... 297757 files and directories currently installed.)
    Unpacking libboost-system1.49.0 (from .../libboost-system1.49.0_1.49.0-3.1ubuntu1_amd64.deb) ...
    Selecting previously unselected package libboost-filesystem1.49.0.
    Unpacking libboost-filesystem1.49.0 (from .../libboost-filesystem1.49.0_1.49.0-3.1ubuntu1_amd64.deb) ...
    Selecting previously unselected package mongodb-clients.
    Unpacking mongodb-clients (from .../mongodb-clients_1%3a2.0.6-1ubuntu4_amd64.deb) ...
    Selecting previously unselected package mongodb-server.
    Unpacking mongodb-server (from .../mongodb-server_1%3a2.0.6-1ubuntu4_amd64.deb) ...
    Processing triggers for man-db ...
    Processing triggers for ureadahead ...
    Setting up libboost-system1.49.0 (1.49.0-3.1ubuntu1) ...
    Setting up libboost-filesystem1.49.0 (1.49.0-3.1ubuntu1) ...
    Setting up mongodb-clients (1:2.0.6-1ubuntu4) ...
    Setting up mongodb-server (1:2.0.6-1ubuntu4) ...
    Adding system user `mongodb' (UID 121) ...
    Adding new user `mongodb' (UID 121) with group `nogroup' ...
    Not creating home directory `/home/mongodb'.
    Adding group `mongodb' (GID 130) ...
    Done.
    Adding user `mongodb' to group `mongodb' ...
    Adding user mongodb to group mongodb
    Done.
    mongodb start/running, process 16712
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    Processing triggers for ureadahead ...
    user@host ~> 
    


  • @spamcourt said:

    user@host ~> mongodb

    fish: Unknown command “mongodb”

     

    Not heard of that shell... just taken a look and it seems interesting!

    Don't like the ">" prompt, mind - SuSE does this also and I find it counter-intuitive.

     


  • Discourse touched me in a no-no place

    @Cassidy said:

    Don't like the ">" prompt, mind - SuSE does this also and I find it counter-intuitive.
    Most shells provide a method to change the prompt...



  • @PJH said:

    Most shells provide a method to change the prompt...
     

    yes, yes, yes... I'm aware of that!

    Just that most shells also use "$" or "%" to indicate they're a variant of the Bourne or C-shell. So far (in the Linux universe) I've only found SuSE that uses ">" as a (default) prompt, which I is daft since:

    • most shells have ">" as a secondary prompt, indicating there's more expected input (forgotten to close a quote, forced line continuation, etc)
    • ">" doesn't show what syntax shell scripts would adhere to

    Just looking at the fish website - there's no clue about the latter question, but I'm guessing it'll be bash-based (or support KSH93 syntax, I hope).

    Footnote: the manual and FAQs suggest a bash-like syntax, give or take a few tweaks.



  • @Cassidy said:

    @PJH said:

    Most shells provide a method to change the prompt...
     

    yes, yes, yes... I'm aware of that!

    Just that most shells also use "$" or "%" to indicate they're a variant of the Bourne or C-shell. So far (in the Linux universe) I've only found SuSE that uses ">" as a (default) prompt, which I is daft since:

    • most shells have ">" as a secondary prompt, indicating there's more expected input (forgotten to close a quote, forced line continuation, etc)
    • ">" doesn't show what syntax shell scripts would adhere to

    Just looking at the fish website - there's no clue about the latter question, but I'm guessing it'll be bash-based (or support KSH93 syntax, I hope).

    Footnote: the manual and FAQs suggest a bash-like syntax, give or take a few tweaks.

    bash also uses # to represent root shell, as in "HOLY FUCK YOU CAN DESTROY YOUR COMPUTER BE CAREFUL"



  • @Ben L. said:

    bash also uses # to represent root shell, as in "HOLY FUCK YOU CAN DESTROY YOUR COMPUTER BE CAREFUL"
     

    That's a legacy *nix thing, rather than a bash feature; Linux just followed suit and it's independent of whatever shell the root is assigned - usually some global profile will set PS1 accordingly for the root account.



  • @blakeyrat said:

    There's this thing called "respect".

    I lol'd



  • @dhromed said:

    sadomasopedorobonecrobestiality

    Even though the sound of it is bending your reality

    If you do it harder you'll appreciate its quality

    Sadomasopedorobonecrobestiality!



    Bumfiddleiddleiddlegunfiddleah

    Bumfiddleiddleiddlegunfiddleah



    </julieandrews>



  • @flabdablet said:

    @dhromed said:

    sadomasopedorobonecrobestiality

    Even though the sound of it is bending your reality

    If you do it harder you'll appreciate its quality

    Sadomasopedorobonecrobestiality!



    Bumfiddleiddleiddlegunfiddleah

    Bumfiddleiddleiddlegunfiddleah



    </julieandrews>

     

    That was beautiful. I lol'd.

     

     



  • @t_wheeler said:

    That was beautiful. I lol'd.
     

    And I can't get that sodding tune outta my head now.

    I sincerely hope I don't hum it tomorrow at work. Especially with that lyric.



  • @flabdablet said:

    @dhromed said:

    sadomasopedorobonecrobestiality

    Even though the sound of it is bending your reality

    If you do it harder you'll appreciate its quality

    Sadomasopedorobonecrobestiality!



    Bumfiddleiddleiddlegunfiddleah

    Bumfiddleiddleiddlegunfiddleah



    </julieandrews>


    How do you pronounce quality?



  • @Ben L. said:

    How do you pronounce quality?

    "Uhdoebee"



  • Re: fish shell

     There are two fish shells.

     

    The first is called 'fish', is old and kinda unmaintained. http://fishshell.com/

    The second is known as 'fishfish', is based on 'fish', and is new and actively maintained. http://ridiculousfish.com/shell/

     

    I use fishfish. Its "web-based" configurator kinda sucks. I've never used fish.



  • @spamcourt said:

     There are two fish shells.

     

    The first is called 'fish', is old and kinda unmaintained. http://fishshell.com/

    The second is known as 'fishfish', is based on 'fish', and is new and actively maintained. http://ridiculousfish.com/shell/

     

    I use fishfish. Its "web-based" configurator kinda sucks. I've never used fish.

     

    Something seems fishy about this.

     



  • @DescentJS said:

    @spamcourt said:

     There are two fish shells.

     

    The first is called 'fish', is old and kinda unmaintained. http://fishshell.com/

    The second is known as 'fishfish', is based on 'fish', and is new and actively maintained. http://ridiculousfish.com/shell/

     

    I use fishfish. Its "web-based" configurator kinda sucks. I've never used fish.

     

    Something seems fishy about this.

     

    But it's net-compatible and scales well.



  • @flabdablet said:

    But it's net-compatible and scales well.
     

    That's a slippery slope. Stop now.



  • @flabdablet said:

    But it's net-compatible and scales well.

    That's a slippery slope.

    Stop it.



  • @Cassidy said:

    That's a slippery slope. Stop now.

    Not sure I can. I might already be hooked.



  • @flabdablet said:

    Not sure I can. I might already be hooked.
    I won't take the bait


  • Considered Harmful

    @ASheridan said:

    @flabdablet said:
    Not sure I can. I might already be hooked.
    I won't take the bait

    It's good to see that you're swimming against the stream.



  • @joe.edwards said:

    It's good to see that you're swimming against the stream.
    Well, I guess that any fin is possible, even for me...


  • Discourse touched me in a no-no place

    ...you lot trying to come up with the lyrics for the next Wet Dream?



  • @PJH said:

    ...you lot trying to come up with the lyrics for the next Wet Dream?
     

    Not really a fan of Sole Music, meself.



  • @Cassidy said:

    Not really a fan of Sole Music, meself.

    Every genre has its plaice.


Log in to reply