Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using python to implement standard UNIX command line tools like cp, cat, ls etc #139

Open
mridubhatnagar opened this issue Nov 20, 2017 · 10 comments

Comments

@mridubhatnagar
Copy link
Contributor

mridubhatnagar commented Nov 20, 2017

Your own terminal in Python

@bbelderbos
Copy link
Collaborator

that's cool

@ErikOShaughnessy
Copy link

I really like the idea of this challenge since it takes some of the "mystery" out of the UNIX toolbox when you know how the tools work. I also think it's a good way to promote/introduce the UNIX philosophy in a sort of low key way.

@pybites
Copy link
Owner

pybites commented Aug 29, 2018

That is cool! We had some Bites on individual commands like: simulate a tail or complete this program to work like wc. Any other commands we can do? I think they fit well in Bites. Or was this to make a argparse interface to fire them off based on the command you give it?

@JnyJny
Copy link

JnyJny commented Aug 29, 2018

I'd start with the UNIX basics (in no real order):

  • cat
  • ls
  • grep
  • ps
  • kill
  • wc
  • basename
  • chmod / chown
  • col
  • cp
  • df
  • du
  • find
  • head / tail
  • jobs
  • less/more/pg
  • ln
  • man
  • mesg / talk
  • mv
  • mail
  • nm
  • tar
  • tr
  • sort
  • uniq
  • rm
  • w
  • wc
  • who
  • xargs
  • zip/unzip

@mridubhatnagar
Copy link
Contributor Author

@pybites I don't remember weather that time I thought of argparse or not. Intent was if we can build a shell using Python.

@mridubhatnagar
Copy link
Contributor Author

@bbelderbos how about this one for January?
Needs brainstorming though.

@pybites
Copy link
Owner

pybites commented Dec 25, 2018

Sounds fun, thanks

@pybites
Copy link
Owner

pybites commented Jan 7, 2019

@cw-sanikachavan
Copy link

Hello, I would like to give this a shot! Will be starting with some of the basic commands like, cp,cd,ls,cat,clear,rm,rmdir,mkdir, etc. Although not limiting to these alone!

@bbelderbos
Copy link
Collaborator

Thanks @SanikaChavan so this would be to deliver a code challenge for us: write up, template code, solution code and if possible some tests to verify user's solution. Can you do that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants