
0

How to reverse a string in command line
command
echo 'hello world' | rev
result
dlrow olleh
rev
The rev utility copies the specified files to standard output, reversing the order of characters in every line. If no files are specified, standard input is read.
This utility is a line-oriented tool and it uses in-memory allocated buffer
for a whole wide-char line. If the input file is huge and without line breaks
than allocate the memory for the file may be unsuccessful.
Comments
Recommend
search keywords
Recent search keywords
- lines+to+columns
- transpose+lines+to+columns
- transpose
- lines to columns
- transpose lines to columns
- http://www.google.com
- /etc/passwd
- odt+to+html
- odt to html
- opkg_conf_load:+Could+not+lock+/var/lock/opkg.lock:+Resource+temporarily+unavailable.
- opkg_conf_load: Could not lock /var/lock/opkg.lock: Resource temporarily unavailable.
- gl.inet+axt1800+openwrt+install+passwall
- gl.inet axt1800 openwrt install passwall
- warn[0000]+mmdb+invalid,+remove+and+download
- WARN[0000]+MMDB+invalid,+remove+and+download
- warn[0000] mmdb invalid, remove and download
- WARN[0000] MMDB invalid, remove and download
- ls
- OpenWRT+install+passwall
- GL.iNet+AXT1800+OpenWRT+install+passwall
- OpenWRT install passwall
- GL.iNet AXT1800 OpenWRT install passwall
- passwall
- sft1200_buddha
- cmdline
- cmdlind
- csv
- wind
- -be
- -s
- public+ip
- bash
- history
- public ip
- nginx