Ubuntu System Commands
Power Commands
Shutdown computer
reboot computerCode:sudo shutdown -h now
orCode:sudo reboot
Network ConfigurationCode:sudo shutdown -r 0
Open network configuration file
Restart the network:Code:sudo nano /etc/network/interfaces
UpdatesCode:sudo /etc/init.d/networking restart
Get update software list, enter:
Update software(s) i.e. apply updates:Code:sudo apt-get update
Apply kernel upgrade:Code:sudo apt-get upgrade
Upgrade individual software called foo type command:Code:sudo apt-get dist-upgrade
PingCode:sudo apt-get install foo
CleanCode:Ping –c3 www.google.ie
To clear the cache you can use either the clean or the auto-clean op for a command-line program called apt-get. The clean command will remove every single cached item, while the auto-clean command only removes cached items that can no longer be downloaded (these items are often unnecessary).
List Devices attached:Code:sudo apt-get clean
Checking open ports on UbuntuCode:sudo lsusb
Enable root accountCode:netstat -anltp | grep "LISTEN"
Chmod for a folder and all of its subfolders and files?Code:sudo passwd root
Code:sudo chmod 755 -R /whatever/your/directory/is
Oscam/Cccam commands
Update cccam.cfg file?
ftp updated cccam.cfg file to /var/config then run command below:
Stop oscam:Code:/var/script/configupdate.sh
Start oscam:Code:sudo killall -9 oscam
Log file:Code:sudo oscam –b
Edit oscam.server:Code:tail -f /var/log/oscam.log
Edit oscam.user:Code:sudo pico /usr/local/etc/oscam.server
Edit oscam.conf:Code:sudo pico /usr/local/etc/oscam.user
Update CCcam Channel InfoCode:sudo pico /usr/local/etc/oscam.conf
Update CCcam ProvidersCode:wget -O /var/etc/CCcam.channelinfo http://tinyurl.com/csmcu44
Clean oscam/cccam Log FilesCode:wget -O /var/etc/CCcam.providers http://tinyurl.com/cgo8ogc
Code:/var/script/LogCleanup.sh
Tuesday, 10 July 2012
Useful Ubuntu OScam CCcam Commands
Useful Ubuntu OScam CCcam Commands
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment