## Tools.pybasher.PyBasher


Common bash commands.


Usage

``` python
Tools.pybasher.PyBasher()
```


## Methods

| Name | Description |
|----|----|
| [cat()](#cat) | Display contents of file. |
| [cd()](#cd) | Change current working directory. |
| [chmod()](#chmod) | Change file permissions. |
| [chown()](#chown) | Change file owner. |
| [cp()](#cp) | Copy file. |
| [df()](#df) | Display free disk space. |
| [du()](#du) | Display disk usage statistics. |
| [find()](#find) | Search for files matching pattern in path. |
| [grep()](#grep) | Search for pattern in file. |
| [history()](#history) | Display command history. |
| [info()](#info) | Display information for command. |
| [kill()](#kill) | Send signal to process. |
| [ls()](#ls) | List directory contents. |
| [man()](#man) | Display manual for command. |
| [mkdir()](#mkdir) | Create directory. |
| [mv()](#mv) | Move file. |
| [ps()](#ps) | Display running processes. |
| [pwd()](#pwd) | Print current working directory. |
| [rm()](#rm) | Delete file. |
| [rmdir()](#rmdir) | Delete empty directory. |
| [tar()](#tar) | Create or extract tar archive. |
| [top()](#top) | Display top-running processes. |
| [touch()](#touch) | Create empty file. |
| [unzip()](#unzip) | Extract zip archive. |
| [zip()](#zip) | Create zip archive. |

------------------------------------------------------------------------


#### cat()


Display contents of file.


Usage

``` python
cat(path)
```


------------------------------------------------------------------------


#### cd()


Change current working directory.


Usage

``` python
cd(path)
```


------------------------------------------------------------------------


#### chmod()


Change file permissions.


Usage

``` python
chmod(permissions, path)
```


------------------------------------------------------------------------


#### chown()


Change file owner.


Usage

``` python
chown(owner, path)
```


------------------------------------------------------------------------


#### cp()


Copy file.


Usage

``` python
cp(source, destination)
```


------------------------------------------------------------------------


#### df()


Display free disk space.


Usage

``` python
df(path)
```


------------------------------------------------------------------------


#### du()


Display disk usage statistics.


Usage

``` python
du(path)
```


------------------------------------------------------------------------


#### find()


Search for files matching pattern in path.


Usage

``` python
find(path, pattern)
```


------------------------------------------------------------------------


#### grep()


Search for pattern in file.


Usage

``` python
grep(pattern, path)
```


------------------------------------------------------------------------


#### history()


Display command history.


Usage

``` python
history(options)
```


------------------------------------------------------------------------


#### info()


Display information for command.


Usage

``` python
info(command)
```


------------------------------------------------------------------------


#### kill()


Send signal to process.


Usage

``` python
kill(signal, process_id)
```


------------------------------------------------------------------------


#### ls()


List directory contents.


Usage

``` python
ls(path)
```


------------------------------------------------------------------------


#### man()


Display manual for command.


Usage

``` python
man(command)
```


------------------------------------------------------------------------


#### mkdir()


Create directory.


Usage

``` python
mkdir(path)
```


------------------------------------------------------------------------


#### mv()


Move file.


Usage

``` python
mv(source, destination)
```


------------------------------------------------------------------------


#### ps()


Display running processes.


Usage

``` python
ps(options)
```


------------------------------------------------------------------------


#### pwd()


Print current working directory.


Usage

``` python
pwd()
```


------------------------------------------------------------------------


#### rm()


Delete file.


Usage

``` python
rm(path)
```


------------------------------------------------------------------------


#### rmdir()


Delete empty directory.


Usage

``` python
rmdir(path)
```


------------------------------------------------------------------------


#### tar()


Create or extract tar archive.


Usage

``` python
tar(action, options, archive, files)
```


------------------------------------------------------------------------


#### top()


Display top-running processes.


Usage

``` python
top(options)
```


------------------------------------------------------------------------


#### touch()


Create empty file.


Usage

``` python
touch(path)
```


------------------------------------------------------------------------


#### unzip()


Extract zip archive.


Usage

``` python
unzip(archive, destination)
```


------------------------------------------------------------------------


#### zip()


Create zip archive.


Usage

``` python
zip(options, archive, files)
```
