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’

Categories blog
Merge multiple text files into another file
read a file in reverse

Recent Posts

  • An easy introduction to LLM agents – structure and components
  • Enforce tagging for SageMaker training job
  • 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

Recent Comments

  • JSON in Java | Baeldung on Java Google Json (Gson) Custom Serializer
  • Candy on List all Objects in R
  • Biuro Nieruchomości Warszawa on Understand CLIP (Contrastive Language-Image Pre-Training) — Visual Models from NLP
  • Dan on Print values on R console or file using cat() or print()
  • srujana on CloudFormation for SageMaker instance
© 2025 Studytrails • Built with GeneratePress