Top "Uname" questions

A command on Unix and Unix-like operating systems that prints out information about the machine and OS.

How to find port number for a particular process id in unix?

In UNIX OS, how can I find the port number when i know the process name or pid ?

pid ps netstat uname
C how to use the function uname

I should write a function to get some information about the system (the most important information is the the architecture). …

c function uname
How to change version string of the kernel?

I'm very new to Linux and very new to building/compiling my own kernel. For starters, I'm just trying to …

linux kernel version fedora uname
Understanding uname output

What do the various pieces of uname -a output mean? Following is an example output: Linux mymachine 2.6.18-194.e15PAE #1 …

unix uname
Verify the version of ubuntu running in a Docker container

I have Docker Toolbox installed on windows 8.1 and I am creating an image based on ubuntu:latest (which should be 16.04). …

ubuntu docker boot2docker docker-toolbox uname
How to strip trailing whitespace in CMake variable?

We are trying to improve the makefiles produced by CMake. For Clang, GCC and ICC, we want to add -march=…

cmake text-processing uname
$(uname -a) returning the same in docker host or any docker container

Why $(uname -a) returns the same Linux kernel than the host machine inside a docker container? uname -a #=> Linux …

linux-kernel docker dockerfile uname
How to modify the Linux kernel to change the version string that uname returns?

I'm working with an old (2.6.33.2) version of embedded Linux and have been asked to change the kernel so that differently …

linux linux-kernel version patch uname
Detect OS from Bash script and notify user

Using bash, I want to find the operating system and notify the user. I tried: OS='uname -s' echo "$OS" …

string bash system uname