Skip to main content

This Package contains the commands of UNIX shell

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

    # Installing the package

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

    > pip install pyshell-pybc2

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyshell-pybc2-0.4.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

pyshell_pybc2-0.4.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file pyshell-pybc2-0.4.0.tar.gz.

File metadata

  • Download URL: pyshell-pybc2-0.4.0.tar.gz
  • Upload date:
  • Size: 7.0 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

Hashes for pyshell-pybc2-0.4.0.tar.gz
Algorithm Hash digest
SHA256 3c20fb085481c8cd04e3b66ee3685b2b2f325358ad934bd70b7dca958f5ccf9d
MD5 4fb8411cacc58f7b58e37d45939f7f9e
BLAKE2b-256 3d0eb32bd2141360e8ce3ae7e44f8acd6f1ab308ce8fe59288d9311de5c88a6c

See more details on using hashes here.

File details

Details for the file pyshell_pybc2-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: pyshell_pybc2-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 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

Hashes for pyshell_pybc2-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11578aecfc17cc7c0801eb65dd78df0b67affc2fd2524460b9f470eaf03daf89
MD5 3ed83614f937844da94b38212f7e9f00
BLAKE2b-256 2a1e7d8dac253ed6548d7760da22ef5d32ef93d620790c24262d540c93ad668e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page