Search Results

Search: Posts Made By: 14th
1,618
Posted By 14th
is this command work? ls -lt | awk '{ print $9...
is this command work?
ls -lt | awk '{ print $9 }' | cut -d "." -f1 | sed 's/[0-9]*$//g' | sort -u | while read line
do
ls "${line}"* | sort -r | tail -n +2
#~ ls "${line}"* | sort -r | tail...
5,565
Posted By 14th
why don't use sed or tr? column_name="vivek"...
why don't use sed or tr?

column_name="vivek"
column_name2="ViVeK"
column_name=$(echo $column_name | tr '[:upper:]' '[:lower:]')
column_name2=$(echo $column_name2 | tr '[:upper:]' '[:lower:]')...
5,565
Posted By 14th
I think, that's because of the typo. echo...
I think, that's because of the typo.

echo "column name 2 lower: $coulmn_name2

it should be.

echo "column name 2 lower: $column_name2
Showing results 1 to 3 of 3

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