Skip to content
Garren's [Big] Data Blog

Month: November 2015

Replace CTRL-A in a file while in a screen session

Posted by Garren on 2015/11/02

echo -e “\u0001” | cat -v # ^A cat -v 000001 | tr ‘^A’ ‘\t’ | head Inspiration: http://stackoverflow.com/questions/31460818/creating-a-ctrl-a-delimiter-file Note: Within the same day, this strategy both worked then failed. YMMV More reliable would be to get into a non screen session and do “ctrl-v then a”


Categories
Default
Leave a Comment on Replace CTRL-A in a file while in a screen session

Recent Posts

  • Protected: Training 2020-02-27
  • Protected: Training 2020-01-31
  • Databricks + Snowflake: Catalyzing Data and AI Initiatives
  • Avoiding Performance Potholes: Scaling Python for Data Science using Spark @ Spark + AI Summit
  • Real-Time Decision Engine using Spark Structured Streaming + ML

Recent Comments

  • Mohammad on Big data [Spark] and its small files problem
  • Garren on Big data [Spark] and its small files problem
  • Mohammad on Big data [Spark] and its small files problem
  • Garren on Converting CSVs with Headers to AVRO
  • Manpreet Shuann on Converting CSVs with Headers to AVRO

Archives

  • February 2020
  • January 2020
  • April 2019
  • June 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • November 2017
  • October 2017
  • July 2017
  • June 2017
  • April 2017
  • October 2016
  • November 2015
  • April 2015
  • March 2015
  • January 2015
  • December 2014
  • October 2014
  • July 2014

Categories

  • Apache Spark
  • Default

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Twitter
LinkedIn
Stack Overflow
GitHub

Kafal Powered by WordPress