Hi,
Is there any command to know the version of debian installed like debian 5.0.1 or something like that?
$ lsb_release -a$ cat /etc/debian_versiondebil wrote:
- Code: Select all
$ cat /etc/debian_version
cola wrote:debil wrote:
- Code: Select all
$ lsb_release -a
- Code: Select all
bash: lsb_release: command not found
sudo lsb_release -alets_rock$ apt-cache search lsb_release
lets_rock$ su
Password:
ROOT # lsb_release -a
bash: lsb_release: command not found
ROOT # cd /usr/lib/pymodules/python2.5/;ls
cairo ecm pygtk.py
dbus ecsm-0.6.0.egg-info pygtk.pyc
dbus_bindings.py gtk-2.0 python_xlib-0.12.egg-info
dbus_bindings.pyc istanbul reportbug
_dbus_bindings.so libtorrent.so reportbug-4.2.egg-info
_dbus_glib_bindings.so libxml2mod.so selinux
deluge libxml2.py xdg
deluge-1.1.6.egg-info libxml2.pyc Xlib
drv_libxml2.py ORBit.so
drv_libxml2.pyc pygtk.pth
ROOT # exitdrakeman wrote:The command lsb_release -a works fine, but if you are not root you should
- Code: Select all
sudo lsb_release -a
$ which lsb_release
/usr/bin/lsb_release~$ apt-file search lsb_release
lsb-release: /usr/bin/lsb_release
lsb-release: /usr/share/man/man1/lsb_release.1.gz~$ aptitude search lsb-release
p lsb-release - Linux Standard Base version reporting...aptitude install lsb-releasedrakeman wrote:cola wrote:debil wrote:
- Code: Select all
$ lsb_release -a
- Code: Select all
bash: lsb_release: command not found
The command lsb_release -a works fine, but if you are not root you should
- Code: Select all
sudo lsb_release -a
jalu wrote:each to his own goes the saying, but instead of installing apt-file to find out what i need to install to run lsb_release and then installing lsb-release to find out what version i run, i`d prefer using cat /etc/debian_version.
that said i`ll have a look at apt-file.
Users browsing this forum: No registered users and 2 guests