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

read a file in reverse

October 11, 2015 by Mithil Shah

At times it is required to read a file in reverse. i.e. starting from the last time and reading up. The best way to do this is to use the ‘tac’ command

tac filename

Categories blog
get first few characters in a file
Cut lines in a file using a delimiter and select specific columns

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