An open API service indexing awesome lists of open source software.

https://github.com/jabedude/cyber-patriot


https://github.com/jabedude/cyber-patriot

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

# Linux Guide
![alt text](https://pbs.twimg.com/profile_images/665149483827642368/Akvu1zUu.png "CyberPatriot")

 

### Software:

Command Line Update:

* Google the correct contents for your sources file then place it in /etc/sources:

```bash
$ sudo gedit /etc/sources
$ sudo apt-get update
$ sudo apt-get upgrade
```

Search for installed program:
```bash
$ dpkg -l | grep
```

Uninstall program:
```bash
$ sudo apt-get remove --purge
```
___

### User Accounts:
View user accounts:

```bash
$ sudo gedit /etc/shadow
$ sudo gedit /etc/passwd
```
___
### Services:

Start a service:

```bash
$ sudo service start
```

Stop a service:

```bash
$ sudo service stop
```
___
### Process/Network:
List all processes:
```bash
$ ps -fAH
```
Look for the following "bad" processes:

* nmap
* john
* netcat/nc/ncat

Kill process:
```bash
$ pkill
$ kill -9
```

List network connections:
```bash
$ netstat -naptu
```
### Stuff used to make this: