Amit's Blog
  • Home
  • Videos
  • All Posts
  • Tags
  • About Me
Subscribe
Tagged

Linux Administration

This category has all tutorials and write-up related to Linux Administration.

Generate UUID in bash
Bash

Generate UUID in bash

Sometimes you may need to generate random UUIDs in bash shell. Here's a quick way to generate one : uuidgen If you need to get just the uuid and no dashes , you can use sed : uuidgen | sed 's/-//g' Another way to use the kernel random

Linux Guy Feb 24, 2022 • 1 min read
Linux Administration

Build 32 bit application or libraries on 64 bit machine

In order to configure script to build 32bit library on a 64 bit machine, you would have to pass the following arguments : ./configure --build=i686-pc-linux-gnu "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" Also, If you get an error that says : configure: error: C++ compiler cannot

  • amit
amit Mar 19, 2015 • 1 min read
Amit's Blog © 2025
Powered by Ghost