Here is few tricks for Linuch which we needed during our exploration of this system
How to change executable flag for scripts recursively
1 | find -iname '*.sh' | xargs chmod 777 |
How to configure shared library path
Add file atomix.conf to directory /etc/ld.so.conf.d. To this file enter following:
1 2 | # atomix libraries /home/USER_NAME/dev/SharedLibraries/libs |
and then run
1 | sudo ldconfig |
External link: http://www.yolinux.com/TUTORIALS/LibraryArchives-StaticAndDynamic.html
VIM cheat sheet
External link: http://www.tuxfiles.org/linuxhelp/vimcheat.html
How to resize partition
Use gparted
1 | sudo apt-get install gparted |
Measure disk write speed
1 | time sh -c "dd if=/dev/zero of=ddfile bs=8k count=100000 && sync" |
Leave a Reply