Using python to implement standard UNIX command line tools like cp, cat, ls etc
Your own terminal in Python
that's cool
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.
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?
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
- nm
- tar
- tr
- sort
- uniq
- rm
- w
- wc
- who
- xargs
- zip/unzip
@pybites I don't remember weather that time I thought of argparse or not. Intent was if we can build a shell using Python.
@bbelderbos how about this one for January? Needs brainstorming though.
Sounds fun, thanks
https://sj14.gitlab.io/post/2018-07-01-go-unix-shell/
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!
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?