R
R
Rinat Bakiev2016-03-23 20:44:31
linux
Rinat Bakiev, 2016-03-23 20:44:31

How to find the bit depth of ubuntu?

How can you find out what bit depth was installed if only the data copied from the hard disk remained?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
V
Vladimir, 2016-03-23
@bakiev

Look:
1 in the /boot folder - the names of the kernels, if there is something like vmlinuz-3.2.0-4-amd64 then this is a 64bit system
2 also on 32bit systems there will be no /lib64 folder in the root

C
Cat Scientist, 2016-03-23
@eruditecat

uname -aorarch

J
jcmvbkbc, 2016-03-23
@jcmvbkbc

what bit depth was set

Kernel bitness -- grep CONFIG_64BIT /boot/config*
Userspace bitness -- by availability /lib64

S
Shetani, 2016-03-23
@Shetani

/etc/os-release contains information about the installed system (sometimes the file is called SuSE-release for example)

V
Vlad Zhivotnev, 2016-03-24
@inkvizitor68sl

Determining the bit depth of Linux by kernel is a stupid idea, the kernel can be 64-bit and run a 32-bit system under itself without any problems (there can no longer be the opposite).
It's easiest to define something like this:
file /bin/bash

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question