<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>emre şahin's digital garden 🍃 - devops</title>
    <link>https://emresahin.net/tags/devops/</link>
    <description>Posts in the devops tag</description>
    <language>en</language>
    <managingEditor>contact@emresahin.net (Emre Şahin)</managingEditor>
    <lastBuildDate>Tue, 15 Sep 2026 19:46:32 +0000</lastBuildDate>
    <atom:link href="https://emresahin.net/tags/devops/rss.xml" rel="self" type="application/rss+xml"/>
    <item>
      <title>Find Which Process is Listening on a Port</title>
      <published>2023-03-14T10:45:00+00:00</published>
      <updated>2023-03-14T10:45:00+00:00</updated>
      <author>Emre Şahin</author>
      <pubDate>Tue, 14 Mar 2023 10:45:00 +0000</pubDate>
      <link>https://emresahin.net/find-which-process-listens-to-a-port/</link>
      <guid isPermaLink="true">https://emresahin.net/find-which-process-listens-to-a-port/</guid>
      <description>Sometimes I need to find out which process is listening on a specific port, usually so I can kill it. On macOS: sudo lsof -i -P | grep LISTEN | grep :$PORT And on Linux: netstat -pntl | grep $PORT</description>
      <category>Bits</category>
      <category>Networking</category>
      <category>SysAdmin</category>
      <category>macos</category>
      <category>linux</category>
      <category>netstat</category>
      <category>lsof</category>
      <category>devops</category>
      <category>terminal</category>
      <content:encoded><![CDATA[<p>Sometimes I need to find out which process is listening on a specific port, usually so I can kill it.</p>
<p>On macOS:</p>
<pre><code class="language-bash">sudo lsof -i -P | grep LISTEN | grep :$PORT
</code></pre>
<p>And on Linux:</p>
<pre><code class="language-bash">netstat -pntl | grep $PORT
</code></pre>]]></content:encoded>
    </item>
    <item>
      <title>Creating AWS S3 buckets from the command line</title>
      <published>2020-06-11T16:29:14+00:00</published>
      <updated>2020-06-11T16:29:14+00:00</updated>
      <author>Emre Şahin</author>
      <pubDate>Thu, 11 Jun 2020 16:29:14 +0000</pubDate>
      <link>https://emresahin.net/creating-aws-s3-buckets-from-command-line/</link>
      <guid isPermaLink="true">https://emresahin.net/creating-aws-s3-buckets-from-command-line/</guid>
      <description>If you have the necessary AWS credentials: export AWS_ACCESS_KEY_ID="XXXX" export AWS_SECRET_ACCESS_KEY="YYYY" you can install the AWS CLI with: pip3 install --user awscli and create an S3 bucket from the command line without using a web browser: aws s3api create-bucket --acl public-read --bucket...</description>
      <category>Cloud</category>
      <category>AWS</category>
      <category>S3</category>
      <category>CLI</category>
      <category>DevOps</category>
      <content:encoded><![CDATA[<p>If you have the necessary AWS credentials:</p>
<pre><code class="language-sh">export AWS_ACCESS_KEY_ID="XXXX"
export AWS_SECRET_ACCESS_KEY="YYYY"
</code></pre>
<p>you can install the AWS CLI with:</p>
<pre><code class="language-sh">pip3 install --user awscli
</code></pre>
<p>and create an S3 bucket from the command line without using a web browser:</p>
<pre><code class="language-sh">aws s3api create-bucket --acl public-read --bucket my-unique-bucket-name --region eu-central-1 --create-bucket-configuration LocationConstraint=eu-central-1
</code></pre>
<p>This will create a publicly readable bucket at <code>http://my-unique-bucket-name.s3.amazonaws.com</code>.</p>
<p>Then you can copy your files with:</p>
<pre><code class="language-sh">aws s3 cp my-file.zip s3://my-unique-bucket-name/subdir/my-file.zip
</code></pre>
<p>and share the link <code>http://my-unique-bucket-name.s3.amazonaws.com/subdir/my-file.zip</code> with anyone you want.</p>]]></content:encoded>
    </item>
  </channel>
</rss>
