Skip to content

option not recognized #334

@obihill

Description

@obihill

I'm trying a very simple example but I'm having issues:

//my-js-file.js
require('shelljs/global');
ls('-l', '/');

and then I run shjs my-js-file.js on the command line. I get the following error: ls: option not recognized: l.

What am I doing wrong?

Note: Trying this using Node version 4.2.4 on an Ubuntu 14.04 server (DigitalOcean).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions