Search Results

Search: Posts Made By: phoenix_nebula
4,670
Posted By phoenix_nebula
Try this
bash-3.2$ cat f1.txt
aa 111 111
bash-3.2$ cat f2.txt
aa 555 555
bb 666 666
cc 777 777
bash-3.2$ awk '{print "grep -v "$1" f2.txt"}' f1.txt |sh
bb 666 666
cc 777 777
79,758
Posted By phoenix_nebula
Try this
head -40 yourfile.txt | tail -10
2,671
Posted By phoenix_nebula
bash-3.2$ cat test4 ABC_20101.2A.2010_01 ...
bash-3.2$ cat test4
ABC_20101.2A.2010_01
ABD_20103.2E.2010_04
ABE_20107.2R.2010_08
bash-3.2$ sed 'p;s/\..*$//g' test4 |xargs -n2 echo mv
mv ABC_20101.2A.2010_01 ABC_20101
mv...
1,216
Posted By phoenix_nebula
bash-3.2$ cat a.sample |sed s/'='/' '/g |sort...
bash-3.2$ cat a.sample |sed s/'='/' '/g |sort -nrk2
10.180.8.234 40501
10.180.8.235 32591
10.180.8.231 31608
10.180.8.233 31606
10.180.8.236 31605
10.180.8.237 30561
10.180.8.232 29011...
Showing results 1 to 4 of 4

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