Last active
March 6, 2018 08:15
-
-
Save michael-martinez/f1f580707b12d6434f10aa93d9e8b4f1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Administration : | |
/etc/hosts | |
/etc/groups | |
/etc/redhat-release | |
echo "alias ll='ls -l'" >> ~/.bashrc | |
nmon | |
service ntp restart | |
rpm -qa |grep gcc | |
rpm -ql gcc | |
rpm -pql *.rpm | |
dnf search gcc | |
sudo apt-get update && sudo apt-get upgrade | |
sudo apt-get install | |
Manual : | |
man ls |grep -e -R | |
Scripting : | |
echo "pattern" | sed -e '/pattern/ !d' | sed -e 's/pattern/replace/' | sed -e 'y/r/R/' | |
find . -type f -exec file {} + | |
Devices Management : | |
cat file > /dev/lp | |
mount && mkdir /mnt/sdb1 && echo "dev/sdb1 /mnt/sdb1 vfat defaults 0 0" >> /etc/fstab && mount -a | |
lsusb | |
insmod / modprobe | |
crontab | |
cat /etc/X11/xorg.conf | |
xrandr --output HDMI-0 --off | |
xrandr --output VGA-0 --right-of DisplayPort-0 | |
xrandr --output VGA-0 --right-of DisplayPort-0 | |
xrandr --output DisplayPort-0 --primary | |
Networking : | |
ifconfig -a | |
netstat -a | |
ping -c 1 http://www.free.fr/ | |
vi /etc/hosts | |
ssh-keygen && ssh-copy-id -i /root/.ssh/id_rsa.pub remotehost && ssh remotehost | |
scp file root@remote:/root/ | |
ftp 127.0.0.1 21 | |
RaspberryPi : | |
- OCR library : tesseract-ocr | |
SVN : | |
- Update réguliers, et lors du travail nouveau fichier | |
- Commit réguliers, fin du travail nouveau fichier | |
- Consulter les logs | |
SGBDR : | |
http://fadace.developpez.com/sgbdcmp/#LII-G-1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment