mobileterminal命令大全

MOBILE TERMINAL COMMANDS

You need to be logged in as root before using these codes.
So open terminal and type :

Su root
Alpine

(If you havent changed you mobile terminal password the default password is “alpine”)

(it is very important to change it ASAP, see bottom of page for guide)

Here are some basic terminal commands:

respring
= resprings device

reboot
= reboot’s device

apt-get update
= updates cydia sources (same as pressing the refresh button in Cydia)

apt-get install cydia
= checks to see if you have latest version of Cydia and installs if you don’t.

apt-get upgrade cydia
= installs any upgrades that are needed for your packages.

apt-get autoremove
= checks for unused or broken files and uninstslls them. (will give you list and asks for confirmation before deleting anything)

apt-get –fix-missing
= checks for missing files and fixes

*  apt-get autoclean
= cleans up files if needed

dir
= lists your directory files

dpkg –list >packages.txt
= creates a list of installed cydia packages

dpkg -i packageID
= used to install .debs

dpkg -r packageID
= used to remove cydia packages

apt-get install packageID
= used to install cydia packages

apt-get remove packageID
= used to remove cydia packages

help
= gives you a list of other terminal commands that you may or may not want to use

dpkg -x path&packageID
= decompile a package

dpkg -b path&decompiledpackageID
= compile a package

dpkg –control path&packageID
= extract the control file from a package

dpkg -P
= purges configuration files for uninstalled packages. If a package is still causing issues after you have deleted running this can help.

dpkg -b path&deb.name
location & deb name
= Builds the deb file you have
Prepared.

dpkg -L packageID
= Will list all files that were installed by that package

chmod #### path&filename
= change permissions of just the folder/file (not the files/folders inside)

chmod R #### path&foldername
= change directory permissions of files inside folder aswell.

cd /directory name
= go to directory

chown
= changes owner of a folder or file
eg. chown root:wheel /var/folders

chown R
= changes owner of a folder or file and all inside aswell. eg. chown -R root:wheel /var/folders

dpkg -S path&package
= will tell you by whom the package came from and kind.

How 2 change root password in MobileTerminal
Open terminal and type:
su
alpine
cd
passwd
your new root passwd
re-type new passwd
mobile passwd
your new mobile passwd
re-type new passwd
respring

Refresh Cydia Sources/Packages

Sample button

That’s it, all done!!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值