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

unix-pyshell-pybc2-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

unix_pyshell_pybc2-0.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file unix-pyshell-pybc2-0.0.1.tar.gz.

File metadata

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

Hashes for unix-pyshell-pybc2-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5ae8060feb6f81accdf91facd3f0356ac5a3f4cce14ba461d540faa19d23c89e
MD5 054a7c7c0eff2b02e5d5c2f5abe834f5
BLAKE2b-256 c6c968008f1ca5d5e65ed206741362f58cbdab119c859f137a4a706f65cdb440

See more details on using hashes here.

File details

Details for the file unix_pyshell_pybc2-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: unix_pyshell_pybc2-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 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 unix_pyshell_pybc2-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f424790c64ea14a9a81c0f3aa40cde7c5226263fc4d1724bf72c722f37647c10
MD5 97f9bdf2bb86d53bb174f753ec934249
BLAKE2b-256 fdf7a1ef7d93fe67bcaf005e7feb32ebf5dcb5e320d36798c921a334399a4450

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