Professional Documents
Culture Documents
net/guides/cheats/
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support Linuxhelp Wiki
1 de 4 27/06/16 13:18
Linux Help - Linux Cheat Sheet http://www.linuxhelp.net/guides/cheats/
Packages.
Firstly edit /etc/apt/sources.list and add your closest mirror and cds with debian on:
Example
deb ftp://ftp.us.debian.org/debian stable main contrib non-free
deb cdrom:[Debian GNU/Linux 2.2 r0 _Potato_ - Official i386 Binary-1 (20000814)]
then run apt-get update
DPKG
install - dpkg -i package.deb
remove/uninstall - dpkg -r package
List files asscoiated with package -dpkg -L package
Version - dpkg -l package
Unpack A deb - dpkg -unpack package.deb
APT
install - apt-get install <package>
search - apt-cache search <package>
remove - apt-get remove <package>
(When using apt-get to download off the Internet, the .deb files are placed in /var/cache/apt/archives)
Network Side
Allow Hosts -edit/etc/hosts.allow #Example Service:IP-ADDRESS
Deny Hosts - edit /etc/hosts.allow # Example ALL:ALL
Hosts on Network - edit/etc/hosts
#Example IPADDRESS HOSTNAME HOSTNAME.DOMAINNAME
Set Hostname - hostname <hostname>
Nameservers - edit /etc/resolv.conf
2 de 4 27/06/16 13:18
Linux Help - Linux Cheat Sheet http://www.linuxhelp.net/guides/cheats/
make menuconfig (go to bottom load up config file /usr/src/oldconfig, save and and exit)
make dep; make clean; make bzImage; make modules; make modules_install; make install ; reboot
Sound Configuration
Useful Information
run cat on these files - cat /proc/<filename>
Install nmap -nmap <Your IP> <- Will list ports open
Edit /etc/fstab- place in partitions and drives to be mount
Edit /etc/inittab- Change Runlevel (ie X or Console)
Edit /etc/inetd.conf- Add/Remove Services
Edit /etc/syslog.conf - Information on log files
Useful commands - free ; ps aux ; top
Changing Window Manager in Debian - update-alternatives x-window-manager
Changing Window Manager in Slackware -xwmconfig
Progammer? Use Vim? - Edit .vimrcadd these lines
set autoindent
syn on
set cindent
Themes
Window Maker
mv wm-theme.tar.gz ~/GNUstep/Library/WindowMaker
cd ~/GNUstep/Library/WindowMake
tar zxvf wm-theme.tar.gz
(Right click, Work space>Appearance>Themes>WM-theme)
Enlightenment
mv e-theme.tar.gz /usr/share/enlightenment/themes/ || ~/.enlightenment/themes/
run e-conf
gtk
mkdir ~/themes ; mkdir ~/themes/gnome/
mv gtk-theme.tar.gz
gnomecc (Desktop >Theme selector)
Sawfish
cp sawfish-theme.tar.gz /usr/share/sawmill || ~./sawmill/themes/
3 de 4 27/06/16 13:18
Linux Help - Linux Cheat Sheet http://www.linuxhelp.net/guides/cheats/
Having trouble? Got questions? Require further assistance? If so please feel free to visit our Help Forums
and ask the experts!
Copyright 1997 - 2016 Private World Domination Inc. All rights reserved.
Linux is a registered trademark of Linus Torvalds. All other trademarks and copyrights are
the property of their respective owners.
| Contact Us | Link to Us | RSS Feed | Staff |
4 de 4 27/06/16 13:18