1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Reverse a text file?

Discussion in 'BlackHat Lounge' started by Jonezy, Jan 18, 2011.

  1. Jonezy

    Jonezy Regular Member

    Joined:
    Jul 15, 2010
    Messages:
    278
    Likes Received:
    44
    Location:
    United Kingdom
    Home Page:
    Hey, does anyone know if its possible to reverse a text file.

    e.g

    1
    2
    3
    4
    etc

    reverse it so it comes out like

    etc
    4
    3
    2
    1

    Anyone know?

    cheers
     
  2. nme

    nme Junior Member

    Joined:
    Jan 17, 2008
    Messages:
    124
    Likes Received:
    36
    If your on something other then Windows, sort -r
     
  3. HoNeYBiRD

    HoNeYBiRD Jr. VIP Jr. VIP

    Joined:
    May 1, 2009
    Messages:
    7,411
    Likes Received:
    8,357
    Gender:
    Male
    Occupation:
    Geographer, Tourism Manager
    Location:
    Ghosted