Jump to content
Danny Reed

C2 Cloud Startup

Recommended Posts

Hi Danny,

Lets get started with making a custom bash script. We will begin by doing "vim H5C2", and creating a script with the following content.

#!/bin/bash
./c2_community-linux-64 -hostname mysub.hostname.com -https

We will then use the nohup command to keep the process running in the backgroup even after we exit the terminal as so.

nohup ./H5C2 &

The script will now run in the background even after your exit/close terminal.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...