Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the rev command parameters of Linux

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "what are the rev command parameters of Linux". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "what are the rev command parameters of Linux?"

The rev command outputs each line in the file in reverse order in characters, that is, the first character is output last, the last character is output first, and so on.

Syntax rev (parameter) parameter file: specifies the file to display the contents in reverse order. [root@localhost] # cat iptables.bak# Generated by iptables-save v1.3.5 on Thu Dec 26 21:25:15 2013*filter:INPUT DROP [48113V2690676]: FORWARD accept [0:0]: OUTPUT ACCEPT [3381959Vera 1818595115]-An INPUT-I lo-j ACCEPT-An INPUT-p tcp-m tcp-- dport 22-j ACCEPT-An INPUT-p tcp-m tcp-- dport 80-j ACCEPT-An INPUT-m state-- state RELATED ESTABLISHED-j ACCEPT-An INPUT-p icmp-j ACCEPT-An OUTPUT-o lo-j ACCEPTCOMMIT# Completed on Thu Dec 26 21:25:15 2013 [root@localhost ~] # rev iptables.bak3102 51:52:12 62 ceD uhT no 5.3.1v evas-selbatpi yb detareneG # retlif*] 6760962 icmp 31184 [PORD TUPNI:] 0:0 [TPECCA DRAWROF:] 5115958181purl 9591833 [TPECCA TUPTUO:TPECCA j-ol I-TUPNI A-TPECCA j-22 tropd-- pct m-pct p-TUPNI A-TPECCA j-08 Tropd-- pct m-pct p-TUPNI A-TPECCA j-DEHSILBATSE DETALER etats-- etats m-TUPNI A-TPECCA j-pmci p-TUPNI A-TPECCA j-ol o-TUPTUO A-TIMMOC3102 51:52:12 62 ceD uhT no detelpmoC # here I believe that you have a deeper understanding of "what are the rev command parameters of Linux?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report