in unix which command is used to sort the lines of data in a file in reverse order

in unix which command is used to sort the lines of data in a file in reverse order

in unix which command is used to sort the lines of data in a file in reverse order

View Answers

May 6, 2013 at 4:49 PM

" sort -r " command in unix is used to sort the lines of data in a file in reverse order









Related Tutorials/Questions & Answers:
in unix which command is used to sort the lines of data in a file in reverse order
in unix which command is used to sort the lines of data in a file in reverse order  in unix which command is used to sort the lines of data in a file in reverse order   " sort -r " command in unix is used to sort
in unix which command is used to create files
in unix which command is used to create files  in unix which command is used to create files   The cat command in UNIX can be used to create and display information from a file. Command to create a file % cat >
Advertisements
PHP Array Sort in Reverse Order
the PHP Array Sort in Reverse Order. Please suggest any online reference or example... these function we sort the values, keys in reverse order in PHP. Find the Reference example of PHP Array Sort in Reverse Order. Thanks
Java Read Lines from Text File and Output in Reverse order to a Different Text File
Java Read Lines from Text File and Output in Reverse order to a Different Text... the JButton. Each line in the file then needs to be converted in Reverse Order... by line and output in reverse order to the text area field. Can someone help
PHP Array Reverse Sorting
PHP Array Sort in Reverse Order In PHP there are three functions are available which are used to sort the values, keys in reverse order. The functions...() is one of them, it sorts an array in reverse order, rsort() is just opposite sort
In which fields data science is used?
In which fields data science is used?  Hi, I am beginner in Data...: In which fields data science is used? Try to provide me good examples or tutorials links so that I can learn the topic "In which fields data science
Sort file data and write into another file
Sort file data and write into another file By sorting, you can arrange the data into meaningful order and analyze it more effectively. Here we have one file... and to sort the data, we have used Arrays.sort() method. This data
PHP SQL ORDER BY
application. ORDER BY clause is used to sort the result data either.... ASC keyword can be used explicitly for ascending order. To make the order in descending order, "DESC" keyword is used. ORDER BY clause is used
ModuleNotFoundError: No module named 'reverse_sort'
with following command: pip install reverse_sort After the installation...ModuleNotFoundError: No module named 'reverse_sort'  Hi, My Python... 'reverse_sort' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'reverse_sort'
with following command: pip install reverse_sort After the installation...ModuleNotFoundError: No module named 'reverse_sort'  Hi, My Python... 'reverse_sort' How to remove the ModuleNotFoundError: No module named '
Which splunk component is used for getting data from data source
Which splunk component is used for getting data from data source  Hi, I am using Splunk for Big Data Analysis. I have to configure components for getting data from a data source. Which splunk component is used for getting data
Reverse Order Java
Reverse Order Java   I am trying to get this into reverse order. Does... in reverse order: "); for (int i = numbers.length-1; i >=0; i...); System.out.println("Numbers in reverse order: "); for (int i = numbers.length-1; i
delete lines in the file
delete lines in the file   I am using a file as Input in program...The file contains round about 1,00,000 lines .My program after each iteration takes a data from that file at process it. My Question is when a particular data
delete lines in the file
delete lines in the file   I am using a file as Input in program...The file contains round about 1,00,000 lines .My program after each iteration takes a data from that file at process it. My Question is when a particular data
delete lines in the file
delete lines in the file   I am using a file as Input in program...The file contains round about 1,00,000 lines .My program after each iteration takes a data from that file at process it. My Question is when a particular data
Reverse word of string in alphabetical order
Reverse word of string in alphabetical order  wap a program that reverse word of string in alphabetical order. e.g. input by user The purpose of education is to replace an empty mind with an open one output
string reverse order
string reverse order  Hi I have string s= " kalins naik" then how can i print string s=" naik kalins" Thanks kalins naik   import java.util.*; public class ReverseWords{ public static void main(String[] args
display repeated lines in a file
display repeated lines in a file  i want a java program that accepts file from user and displays the repeated lines in a file
ModuleNotFoundError: No module named 'django-sort-order-field'
install django-sort-order-field python with following command: pip install...ModuleNotFoundError: No module named 'django-sort-order-field'  Hi...: No module named 'django-sort-order-field' How to remove the ModuleNotFoundError
ModuleNotFoundError: No module named 'django-sort-order-field'
install django-sort-order-field python with following command: pip install...ModuleNotFoundError: No module named 'django-sort-order-field'  Hi...: No module named 'django-sort-order-field' How to remove the ModuleNotFoundError
ModuleNotFoundError: No module named 'django-sort-order-field'
install django-sort-order-field python with following command: pip install...ModuleNotFoundError: No module named 'django-sort-order-field'  Hi...: No module named 'django-sort-order-field' How to remove the ModuleNotFoundError
Java code to run unix command - Java Beginners
Java code to run unix command  Hi, I need a java code to connect to a remote unix server and run a unix command. Please help. Regards, Pratyush
Mysql ASC Order
; Mysql ASC Order is used to sort the result set by ascending or descending order. The Order by CLAUSE sort the result by specified column. Understand... given below sort the records from 'stu' in ascending order
Hibernate Criteria Sort Order
Hibernate Criteria Sort Order The hibernate criteria sort order API is used to display the records in some sorted order either ascending or descending... = criteria.list(); An example of sorted order is fiven below please consider
ModuleNotFoundError: No module named 'odoo8-addon-purchase-order-reorder-lines'
-order-reorder-lines python with following command: pip install odoo8-addon...ModuleNotFoundError: No module named 'odoo8-addon-purchase-order-reorder-lines...: ModuleNotFoundError: No module named 'odoo8-addon-purchase-order-reorder-lines' How
JavaScript array reverse example
;    JavaScript Array class have one method reverse() which will reverse the order of element into the array. This has a simple syntax... "arr" which contains three elements. Now we can reverse the array
Java read lines from file
Java read lines from file  Any code example related to Java read lines from file? In my project there is requirement of reading the file line by line and splitting the command separated data and saving into database. I know how
which path we have to give in order to upload a file from any where in the system
which path we have to give in order to upload a file from any where...("insert into file(file_data) values(?)"); fis = new FileInputStream(f... to do in order to upload a image from any where from the system Please tell me
Mysql Date Order
Mysql Date Order       Mysql Date Order is used to sort the records from a table in ascending order... a table employee1 with field attribute and data type. The create table is used
Read Lines from text file
need to do this for a file with 11 lines. Here's my code while((line...Read Lines from text file  Here's a brief desc of what my Java code does .. I'm using BufferedReader to read lines from a text files and split each
Mysql Date Order By
Mysql Date Order By       Mysql Date Order By is used to sort the records of the table by specific... from 'Mysql Date Order By'. To understand Date Order By in Mysql , we create
Java file number of lines
of the file. We have used counter here to detect the number of lines occurred...("Lines in the file: " + count); } } In this section, we have used file.txt...Java file number of lines In this section, you will learn how to count
Search and return lines of text file
Search and return lines of text file  I wrote the following code, that found lines of txt file with contains certain word, but it returns only the first or the last line! (However, the System.out.println show me all the lines
ModuleNotFoundError: No module named 'odoo11-addon-purchase-order-line-deep-sort'
-purchase-order-line-deep-sort python with following command: pip install...: ModuleNotFoundError: No module named 'odoo11-addon-purchase-order-line-deep-sort...-purchase-order-line-deep-sort' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'odoo12-addon-purchase-order-line-deep-sort'
-purchase-order-line-deep-sort python with following command: pip install...: ModuleNotFoundError: No module named 'odoo12-addon-purchase-order-line-deep-sort...-purchase-order-line-deep-sort' error? Thanks   Hi, In your python
Count lines of a particular file
In this program you will learn how to read a file and count number of lines... and count no of lines in a file. Program first asks the user to enter.... Its reads the file(s) and then prints the no of lines in each file. Java
the commonly used unix commands like date ls cat etc. are stored in
the commonly used unix commands like date ls cat etc. are stored in  the commonly used unix commands like date ls cat etc. are stored
MySQL Order By
is used for sorting the data either ascending or descending order according to user requirement. ORDER BY: This keyword is used to sort the records in ascending order by default. If user wants to sort the records in descending order, they should
Insertion Sort Java
Insertion Sort in Java is an algorithm that is used to sort integer values..., Insertion Sort in Java is less efficient when it comes to larger data sets... Efficient for small data values Efficient on data sets which are already nearly
ascending order of a data hierarchy
ascending order of a data hierarchy  The ascending order of a data hierarchy is 1. Bit-byte-record-field-file-database 2. Byte-bit-field-record-file-database 3. Byte-bit-record-file-field-database 4. Bit-byte-field-record-file
Merge Sort Java
Merge Sort in Java is used to sort integer values of an array. There are many methods to sort Java like bubble sort, insertion sort, selection sort, etc..., then they are repeatedly merged till the final list is in sorted order completely. Merge Sort
unix
unix  Write a program lc[1] which takes a file name as its sole argument and prints out how many lines the file contains. An example execution of this program might look as follows: $ java lc lc.java 20
unix
unix  not able to download java into unix os
ModuleNotFoundError: No module named 'big_file_sort'
with following command: pip install big_file_sort After...ModuleNotFoundError: No module named 'big_file_sort'  Hi, My... 'big_file_sort' How to remove the ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'file-sort-app'
with following command: pip install file-sort-app After...ModuleNotFoundError: No module named 'file-sort-app'  Hi, My... 'file-sort-app' How to remove the ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'big_file_sort'
with following command: pip install big_file_sort After...ModuleNotFoundError: No module named 'big_file_sort'  Hi, My... 'big_file_sort' How to remove the ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'file-sort-app'
with following command: pip install file-sort-app After...ModuleNotFoundError: No module named 'file-sort-app'  Hi, My... 'file-sort-app' How to remove the ModuleNotFoundError: No module named
What is data science used for?
What is data science used for?  Hi, I am beginner in Data Science... is data science used for? Try to provide me good examples or tutorials links so that I can learn the topic "What is data science used for?". Also tell
Insert Data From File
Insert Data From File       Insert Data From File is  used to insert data from file... an example to insert data from file. To understand this example, we create
how to sort the text file and display it in jtable
how to sort the text file and display it in jtable   my text file is: contig00001 length=586 numreads=4... ctgaggactcctcg i want to display the lines started with ">" symbol to be displayed

Ads