A small example package
Project description
# This project implements the Command Line Interface like UNIX-shell
This project includes the following commands:
## Directory commands:
ls (with support for -R)
Lists the files and directories in the current directory
-R lists the files and directories recursively
pwd
Returns the present working directory
mkdir
Creates a new directory
rmdir
Removes the directory if it is empty
cd
Changes the current directory to the directory mentioned in the argument
## File Commands:
grep
To find matching patterns
find
Finds the given file in the given path
cat
Used to display the contents of the given file. With ‘>’ can be used to create and write into a new file
cp
Copy contents from source to destination
mv
Move contents from source to destionation
rm (with support for -r)
Remove the file or directory with a confirmation to remove non empty items.
-r Removes recursively
sizeof
Returns the size of the file in the arguments
head
-n for the number of lines it has to print since the beginning of file
Default is 10
tail
-n for the last n number of lines to print from the file
Default is 10
## Miscellaneous commands:
date
Returns the current date and time
whoami
Returns current user name
hostname
Returns current host name
timeit
Returns the time taken to run the command given
exit
Exit from the shell
history
Shows the history of commands executed so far
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyshellpybc2-0.0.2.tar.gz
.
File metadata
- Download URL: pyshellpybc2-0.0.2.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 325ccf93fea0ece2a78eed9cb5af3eac595ae2a12a207e1f26d837eea811c91c |
|
MD5 | 6470570d42f9e6ddc48ade3fe0912cf2 |
|
BLAKE2b-256 | d76821e8f9aeeab79e6d4e6ab640d27dc297c4f62b554fb1ff6269cb7cac6674 |
File details
Details for the file pyshellpybc2-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pyshellpybc2-0.0.2-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3307ad41e5043b43a21efad903ee7c18cccec525b718d0afb914a2dce142e1a6 |
|
MD5 | f8123ccff6528973048124f837b5c74c |
|
BLAKE2b-256 | e1b49335f1e0926900aaefac948a2fcf2cb29c3fe31938baec380fdb94248d85 |