由於語法渲染問題而影響閱讀體驗, 請移步博客閱讀~
本文GitPage地址
To Start With Linux
1 Add a user
useradd ken # add a user 'ken'passwd ken # add a password for urser 'ken'
2 Add users to sudo group
vim /etc/sudoers # use root acount or run with sudo
Find the line “root ALL=(ALL) ALL” and add a line:
ken ALL=(ALL) ALL
save and quite
3 Adding Script to boot list
sudo vim /etc/rc.local
##!/bin/bash## rc.local config file created by use##The script you want to run while bootingexit 0
sudo chmod +x /etc/rc.local
Something Else
System infor
# print distro
head -n 1 /etc/issue
# Name of the computer
hostname
Hardware infor
# CPU infor
cat /proc/cpuinfo
# Ram infor
grep MemTotal /proc/meminfo
# Ram infor
free -h
Java
Control your sound
alsamixer

Mute and unmute sounds
Source: Eric Carvalho 2011
amixer set Master mute
amixer set Master unmute
Enjoy~
由於語法渲染問題而影響閱讀體驗, 請移步博客閱讀~
本文GitPage地址
GitHub: Karobben
Blog:Karobben
BiliBili:史上最不正經的生物狗
