Run
dpkg -p program_name
Run
uname -r
You can restart X-server (first switch to console by Ctrl + Atl + F1) by running
/etc/init.d/gdm restart
or
/etc/init.d/gdm3 restart
or
/etc/init.d/kdm restart
Stop/Start X-server (first switch to console by Ctrl + Atl + F1) with
/etc/init.d/gdm stop
or
/etc/init.d/gdm3 stop
or
/etc/init.d/kdm stop
If you do not know which X server you are using you can try to brute force:
/etc/init.d/gdm stop /etc/init.d/gdm3 stop /etc/init.d/kdm stop /etc/init.d/xdm stop /etc/init.d/lightdm stop
Run
/etc/init.d/gdm start
or
/etc/init.d/gdm3 start
or
/etc/init.d/kdm start
Works with X-server gdm, gdm3 or kdm. If you have different X just type it 's name instead
Either here /etc/default/grub or check scripts from folder /etc/grub.d
If this folder is a subfolder of your current one
cd folder_name
Or with full path from root
cd /subfolder/folder_name
Try
live
worked 26.12.2014 for this image.
To send email from terminal type
mail -s "Subject" user@domain.ru
If you need to send text file content
mail -s "Subject" user@domain.ru < /home/user/filename.txt
Run
rm file_name
Run
Alt + F7
Run
Ctrl + Alt + F1
Run
netstat
Sources:
http://man7.org/linux/man-pages/man8/netstat.8.html
https://en.wikipedia.org/wiki/Netstat
Share in social media:
|