jailbreak cmd cheatsheet
Providing a comprehensive overview of jailbreak commands, this sheet includes essential commands for managing Cydia packages and system processes. Key columns feature command names, descriptions, syntax, example usage, and repository information. Notable commands include 'apt-get' for package management and 'curl' for HTTP requests. It also lists important directories related to user applications and system files, making it a valuable resource for users interested in jailbreaking their devices.
Content article
The jailbreak command cheatsheet provides a comprehensive overview of essential directories and commands related to jailbreaking, covering a range of functionalities and utilities.
In the "Important Directories" tab, the directory "/etc/apt/sources.list.d/" is noted for storing Cydia sources, where users can create a new text file with a .list extension to add sources in the format "deb http://myrepo.com ./". The "/User/Applications/" directory stores all user-installed applications, while "/var/stash/Applications.xxxxxx/" contains main system applications, including SpringBoard.app. Additionally, the "/System/Library/CoreServices/" directory is mentioned, although the description is incomplete.
The "Commands" tab lists various commands along with their descriptions and usage. For instance, the command "adv-cmds" can be executed with the syntax "$ ps -aux" to show currently running processes, with options like "-A" for all processes and "-M" for security info. The APT 0.7 Strict command "apt-get" is used to manage Cydia packages, with an example usage of "grep [regex] update," and it is available through the Cydia/Telesphoreo repository. Another command, "say," lists Cydia's package cache, allowing users to show information about a specific package using "showpkg <packageName>".
The "Aptitude" command provides a cleaner way to manage Cydia packages, with commands such as "update," "upgrade," and "install <packageName>." The coreutils section includes commands like "cat," which displays or concatenates files, and "echo," which writes text to a specified filename. The "kill" command allows users to send a signal to a process ID, while "su" enables users to switch to another user, typically the root user. The "sw_vers" command displays the product name, version, and build version, and "y" simply prints 'y'.
Networking commands include "ifconfig," which manages network interfaces, and "ping," used to check connections to remote servers. The OpenSSH commands "scp" and "ssh" are also highlighted, with "scp" allowing file transfers between local and remote systems, while "ssh" provides secure remote access.
The "Tasks" tab outlines specific commands for practical tasks, such as using "find" to list all bundle identifiers for installed apps with the command "find /User/Applications/ -name iTunesMetadata.plist -exec plutil -key softwareVersionBundleId {} \;". Another task shows how to list the names of each installed app using a similar command structure. Additionally, to add a Cydia source, the command "echo deb http://myrepo.com/ ./ >> /etc/apt/sources.list.d/mySources.list" is provided.
This cheatsheet serves as a valuable resource for users looking to navigate the complexities of jailbreaking through various commands and directories.