Skip to content
Studytrails

Tutorials in ML, AWS, R and Java

  • Amazon AWS
  • Videos
  • R
    • RServe
    • RJava-Eclipse-Plugin
    • Core
  • Machine Learning
  • java
    • frameworks
    • Json
      • Jackson
      • GSON
  • Kubernetes

get first few characters in a file

October 11, 2015 by Mithil Shah

head -c 50 file
This returns the first 50 characters of the file ‘file’

facebookShare on Facebook
TwitterTweet
Categories blog
Post navigation
Merge multiple text files into another file
read a file in reverse

Recent Posts

  • Introduction to scaling Large Model training and inference using DeepSpeed
  • Understand CLIP (Contrastive Language-Image Pre-Training) — Visual Models from NLP
  • Amazon S3 lifecycle policies
  • Host a static website on Amazon S3
  • Amazon S3 encryption

Recent Comments

  • srujana on CloudFormation for SageMaker instance
  • Tolera on Install Climate Data Operator (CDO) with NetCDF, GRIB2 and HDF5 support
  • Brijesh on Java Google Json (Gson) Introduction
  • Tan on Install Climate Data Operator (CDO) with NetCDF, GRIB2 and HDF5 support
  • Ali on Install Climate Data Operator (CDO) with NetCDF, GRIB2 and HDF5 support
© 2023 Studytrails • Built with GeneratePress