How to check whether some library have been installed
Or simply use
rpm -qa | sort | grep libname
Another way is to use
yum list installed | grep software-name
rsync --append --progress SOURCE_FILE_PATH TARGET_FILE_PATH
find FOLDER_PATH -name "*.png" -print0 | xargs -0 rm
find FOLDER_PATH -name "*.png" -delete
If the file is in elf format
readelf -Ws /usr/local/cuda/lib64/libcudart.so | grep Device
or (because You only should extract those that are defined in this .so file, not in the libraries referenced by it. Seventh column should contain a number in this case Here)
readelf -Ws /usr/local/cuda/lib64/libcudart.so | awk '{print $8} | grep Device'
For C++ functions
nm -gC libname.so
Use avconv
avconv -i input.avi -s WxH output.mov
convert images to videos
avconv -r 10 -start_number 1 -framerate 10 -i IMAGE_FOLDER/det_%d.png -b:v 1000k -s 640x360 result.mov
row index from 1
use awk (row 1-2)
awk ‘NR >= 1 && NR <= 2 { print }’ /opt/visal/tmp/for_sijin/tmp/test.txt
use tail (from 100-end)
tail -n +100 largefile
use head
head -n +10 largefile