Tuesday, 14 November 2017

lspci Command on Linux

This command will identifying the hardware of the internal devices.

manivel ~ # lspci



   



This command will give the more information about a specific devices. Here -s means show only devices in selected slots and -v means verbose.

manivel ~ # lspci -s 02:00.0 -v



For more options

manivel ~ # lspci --help

manivel ~ # man lspci 

Wednesday, 1 November 2017

How to Set System-Wide Proxy on Ubuntu


Setting the system wide proxy through Environment Variables

Edit the file "/etc/environment" and add the following lines

manivel@manivel-admin:~$ sudo vim /etc/environment

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
http_proxy="http://username:password@manivel.com:80/"
https_proxy="https://username:password@manivel.com:80/"
ftp_proxy="ftp://username:password@manivel.com:80/"
socks_proxy="socks://manivel.com:80/"