Skip to main content

# 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

    # Installing the package

    To install and use, run the following command from your command line

    > pip install pyshell-pybc2

Metadata

Release files for pyshell-pybc2-new 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyshell-pybc2-new 0.0.3
File Size Uploaded
pyshell-pybc2-new-0.0.3.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyshell-pybc2-new 0.0.3
File Interpreter ABI Platform
pyshell_pybc2_new-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / pyshell-pybc2-new-0.0.3.tar.gz

Download URL pyshell-pybc2-new-0.0.3.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
53fe8e8a46f4b5ba5b4eb4c9016eb986a5b3b04bb91c7a2c20024cd51bcd6a73
BLAKE2b-256 checksum
How to use checksums
672adf687a76f61902dd343b74704b636040ed455554f556a2cd07ac1e02c114
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pyshell_pybc2_new-0.0.3-py3-none-any.whl

Download URL pyshell_pybc2_new-0.0.3-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f553017472eef0fb1ec859b21a105b7b67eda4ec3f64c5920e077104fa6ea91
BLAKE2b-256 checksum
How to use checksums
0d7248592655cf957826a59df5189a58e85a9e1e9644ebda11962ffdc9097353
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page