Skip to content
PHPFog.com
  • Home
  • Agency
  • Services
  • Team
  • Testimonials
  • News
  • Quote
Menu Close
  • Home
  • Agency
  • Services
  • Team
  • Testimonials
  • News
  • Quote

Linux/Shell

  1. Home>
  2. Blog>
  3. Linux/Shell>
  4. Page 8
Blog / Database / Linux/Shell

Export data from Postgres as CSV

Exporting data from Postgres as a CSV or tab delimited file can be fairly simple using the COPY command. Examples below. Export an entire table as CSV: psql -c "COPY…

0 Comments
January 25, 2021
Big Data / Blog / Linux/Shell

Using UNIX Wildcards with AWS S3 (AWS CLI)

Currently AWS CLI doesn’t provide support for UNIX wildcards in a command’s “path” argument. However, it is quite easy to replicate this functionality using the --exclude and --include parameters available…

0 Comments
January 25, 2021
Blog / Linux/Shell

Create a Docker group Linux

When working with Docker in Linux, you may find yourself using sudo before every Docker command. This is because the docker daemon binds to a Unix socket (which by default…

0 Comments
January 25, 2021
Blog / Linux/Shell

How to Enable the ‘root’ user on Ubuntu

By default, the root user is locked in Ubuntu. To unlock it, simply run the command below, and provide the new password for the root user when prompted. sudo passwd…

0 Comments
January 25, 2021
Blog / Linux/Shell / Programming

Count Unique Elements in Text File with AWK

Counting the distinct/unique elements of text file is a common task.  Below is an example of doing this is AWK, using sample_data_1.txt. cat sample_data_1.txt \ | awk 'BEGIN{FS="\t"} NR>1{names[$2]=1} END{print…

0 Comments
January 25, 2021
  • Go to the previous page
  • 1
  • …
  • 5
  • 6
  • 7
  • 8

Newsletter

Get all latest content delivered to your email a few times a month.
Email is required Email is not valid
Thanks for your subscription.
Failed to subscribe, please contact admin.

Recent Posts

  • Top Features For Al Billing Software Development
    Top Features For Al Billing Software Development
    March 24, 2023/
    0 Comments
  • How to Manage and Secure Your Android Devices
    How to Manage and Secure Your Android Devices
    March 10, 2023/
    0 Comments
  • Top SaaS Marketing Growth Tactics
    Top SaaS Marketing Growth Tactics
    March 10, 2023/
    0 Comments
Facebook Twitter Youtube Instagram Linkedin Rss

© Copyright – OceanWP

By continuing to use this website, you consent to the use of cookies in accordance with our Cookie Policy.

Accept