Skip to content

Tag: linux

Building Boost unit test framework on Debian 8.3 ARM

I’m trying to port a larger project to an embedded Linux system (Debian 8.3 ARM). The project requires Boost libraries newer than the system’s Synaptic (1.55 vs. 1.58), so I’ll need to build Boost from source. Usually I pick the most recent version, which was 1.60 when I downloaded things tw…

Can I use hexdump in a shell script?

Can I use hexdump in a shell script? When I use it I keep getting an error . syntax error near unexpected token ‘hexdump’ I am not able to figure out why the hexdump code is giving me an error . Please help . Answer You are missing the do in your for loop:

Linux batch rename files

I am going to rename image files and pdf files in a folder in Linux. It should be recursively as some files are in sub-sub folder. Current file name pattern is like: My goal pattern is In a short, I want to remove everything before -NumberString-, and keep everything afterwards (includes the NumberString). Ca…

Linux. Not printing to file

i’m just coding module for HLDS server extension metamod. I wrote a simple utility function for writing logs in format %LOGNAME%_%DATE%.log In windows that function is working fine, but in linux it create file but write nothing. First I try to search information about that, but I do not found a solution…