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
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
Hashes for pyshell_pybc2_new-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9670b2d0c6cd06b2f1cac0169707e1eb6d8a9dde2dec7e6165fd3850c4b72fd4 |
|
MD5 | 4655f8943e3b10a0dee37bae216152d8 |
|
BLAKE2b-256 | 62aef868038eff9a00ec297c93df3793cc4bf67db2b6977afd724d3996415cb3 |