Search Results

Search: Posts Made By: mascorro
16,879
Posted By mascorro
In The terminal. It shows that I do not have a...
In The terminal. It shows that I do not have a file or directory with that name.
cat -n /path/to/file

Thanks for any help you could give me.
16,879
Posted By mascorro
Question
How do I run this on the Unix Terminal?
# count lines (emulates "wc -l")
sed -n '$='
16,879
Posted By mascorro
Unix Script with line number at beginning of each line.
Could anybody help me.
I need to create a script that reads a text file from STDIN and prints out the file to STDOUT with line numbers at the beginning of each line.

Thanks.
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 12:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy