Jump to content

Basic Useful Terminal Commands


XPG.

5 posts in this topic

Recommended Posts

Updated

 

Welcome to Basic Terminal Guide!

Requirement:
Terminal/SSH tools
Package For some commands that required (apt 0.7, coreutil, etc.)
Basic Understanding of command line.

Here are some useful command to get started with:

Change Directory
Command: cd

Go to the applications directory:
Usage: $ cd ~/Applications
Additional Condition:
"." current directory: 
".." up one level
"~" home directory

List Content of Current Directory
Command: ls

List all subdirectories recursively:
Usage: $ ls -R
Additional Condition:
-R recusrive 
-l long 
-a all files

Super User (Root privileges 777)
Command: su

The su (short for substitute user) command allows a user to become another user. Most commonly used to become the root user to perform commands which require root privileges.
Usage: $ su root
or
$ su
(short for super user)

Changing of Password
Command: passwd

Changing of password (default: alpine)
Usage: $ passwd

Moving of Files
Command: mv

usage: $ mv ./somedir/file1 ./somedir/file2

Copying of Files
Command: cp

usage: $ cp "/received/song.mp3" "/music/"

Remove file or dir
Command: rm or rmdir

Usage:$ 
File
rm /User/Downloads/CrackedOldIPA/12345cracked.ipa

or
Folder
rmdir /User/Downloads/CrackedOldIPA/

Making of Directory:
Command: mkdir

Usage:$ mkdir FOLDER

Show currently running process
Command: ps

Usage: $ ps -auxadv-cmds
Additional condition:
"-A" all processes
"-M" includes security info
"-U <user>" lists processes by userShow all running processes with useless ones trimmed

Killing Proc
Command: kill or killall

Usage:$ kill <pid>

or

Usage:$ killall SpringBoard

Condition:
PID: Process ID

Finds all files matching given attributes
Command: find

Usage: $ find -name iTunesMetadata.plist
Additional Condition:
"-name <name>" name of the file
"-exec <command>" command to run for each found filefind all iTunesMetadata.plist files

Show/Print Full Operating System
Command: uname - a

usage:$ uname -a

Print Device Info
Command: sw_vers

usage:$ sw_vers

Open the specified app (using com.bundle.identifier scheme)
Command: vim

Usage:$ vim <bundleID>

Respring Device
Command: sbreload

usage:$ sbreload

Secure Copy - use SSH for file transfer
Command: scp

usage:$ scp cydia.deb [email protected]:/root/cydia.deb
Example of copying cydia.deb to device @192.168.1.45*

Additional syntax:
"scp [options] <infile> <outfile>
<infile> and <outfile> can be local files such as /etc/apt/sources.list or remote files in the format <user>@<host>:<filename>"

Secure SHell - useful for remote access
Command: ssh

Usage:$ ssh [email protected]
systax:
ssh [options] [user@]<host>	

Reloading iconcache
Command: uicache

Usage:$ uicache

Package Management (For Cydia)
Command: apt-cache / apt-get

List Package cache: apt-cache
Show the name of every package
Usage:$ apt-cache pkgnames

Additional syntax:
""showpkg <packageName>"" shows info about a package
""dump"" lists info about all packages (takes a LONG time)
""pkgnames"" lists names of all packages (takes a LONG time)

Manage Package: apt-get
Updating of Cydia source package
Usage:$ apt-get update

Additional Syntax:
"""update"" reload Cydia sources
""upgrade"" install all updates
""install <packageName>"" installs a package
""remove <packagename>"" removes a package"

There are many more commands available under /bin/ to look up for such as unzip, sudo, chmod, cat, jtools, etc etc. They are pretty advance for some new user, I will cover more in the next tutorial for advanced user. 

If there are any incorrect command in the list, do PM me. Thanks

Cheers :)

Posted

Feels good knowing the whole list. :D

Thank you for sharing! It will help the new people who want to tinker with iOS. :)

Posted

Any idea how to copy a file from device to the computer?

Posted
On 6/29/2018 at 7:30 PM, Ray.SingSing. said:

Usage:$ vim <bundleID>

What do I need to install to use the vim command to open apps over SSH? The other commands I've tried work, but not this one.

Thank you.

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • 도깨비 서바이버: 각성 Dokkaebi Survivor: Awakening v1.0 [ +4 Cheats ] ATK MAX
      Modded/Hacked App: Dokkaebi Survivor: Awakening By Alphaloop
      Bundle ID: dev.alphaloop.dokkaebisurvivor
      App Store Link: https://apps.apple.com/us/app/dokkaebi-survivor-awakening/id6814417487?uo=4

      🤩 Hack Features

      - Unlimited Coin
      - Energy Max
      - ATK MAX
      - HP MAX
      • 0 replies
    • 도깨비 서바이버: 각성 Dokkaebi Survivor: Awakening v1.0 [ +4 Jailed ] ATK MAX
      Modded/Hacked App: Dokkaebi Survivor: Awakening By Alphaloop
      Bundle ID: dev.alphaloop.dokkaebisurvivor
      App Store Link: https://apps.apple.com/us/app/dokkaebi-survivor-awakening/id6814417487?uo=4

      🤩 Hack Features

      - Unlimited Coin
      - Energy Max
      - ATK MAX
      - HP MAX
      • 0 replies
    • UFO Attack: Last Defense v1.8 [ +1 Cheats ] Auto Win
      Modded/Hacked App: UFO Attack: Last Defense By Mikhail Marhel
      Bundle ID: com.Magenta.EarthDefense
      App Store Link: https://apps.apple.com/us/app/ufo-attack-last-defense/id6803860825?uo=4

      🤩 Hack Features

      - Auto Win / Tap Green Button
      • 0 replies
    • UFO Attack: Last Defense v1.8 [ +1 Jailed  ] Auto Win
      Modded/Hacked App: UFO Attack: Last Defense By Mikhail Marhel
      Bundle ID: com.Magenta.EarthDefense
      App Store Link: https://apps.apple.com/us/app/ufo-attack-last-defense/id6803860825?uo=4

      🤩 Hack Features

      - Auto Win / Tap Green Button
      • 0 replies
    • The Posthumous Investigation +1 Jailed Cheat [ Full Game Unlocked ]
      Modded/Hacked App: The Posthumous Investigation By Mother Gaia Studio
      Bundle ID: br.com.mothergaia.theposthumousinvestigation
      App Store Link: https://apps.apple.com/us/app/the-posthumous-investigation/id1614001053?uo=4

       


      🤩 Hack Features

      -- Full Game Unlocked
      • 0 replies
    • The Traitors: Interactive Game +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: The Traitors: Interactive Game By Fusebox Games Ltd
      Bundle ID: com.fuseboxgames.traitors
      App Store Link: https://apps.apple.com/us/app/the-traitors-interactive-game/id6751324795?uo=4

       

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Tickets
      -- No Forced Ads
      • 1 reply
    • 機動戦士ガンダム U.C. ENGAGE +2 Cheats
      Mod APK Game Name: 機動戦士ガンダム U.C. ENGAGE By Bandai Namco Entertainment Inc.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.bandainamcoent.gundamucengage

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download via the iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 7 replies
    • Raft® Survival - Ocean Nomad +18 Jailed Cheats
      Modded/Hacked App: Raft® Survival - Ocean Nomad By Survival Games Ltd
      Bundle ID: com.raftsurvival.raft
      App Store Link: https://apps.apple.com/us/app/raft-survival-ocean-nomad/id1326046015?uo=4

       

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Unlimited Currenices
      - Never Die
      - No Thirst/Hunger
      - Craft Anything
      - One Hit Kill - Shark
      - No Shark Spawn
      - Unlimited Durability

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App







       

      📖 PC Installation Instructions

      STEP 1: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see our iOSGods App IPA Download Tutorial which includes a video example.
      STEP 2: Download Sideloadly and install it on your Windows or Mac.
      STEP 3: Open Sideloadly on your computer, connect your iOS device, and wait until your device name appears in Sideloadly.
      STEP 4: Once your iDevice is recognized, drag the modded .IPA file you downloaded and drop it into the Sideloadly application.
      STEP 5: Enter your Apple Account email, then press “Start.” You’ll then be asked to enter your password. Go ahead and provide the required information.
      STEP 6: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 7: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles / VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 8: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A
      • 90 replies
    • Dark Hunter - Hunter Hero RPG +5 Cheats
      Mod APK Game Name: Dark Hunter - Hunter Hero RPG By Dovi Games
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=dovi.darkhero.survival

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
      - Diamond Increase On Spend
      - Move Speed Multiplier
      - No ADS

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download via the iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 12 replies
    • Hololive Dreams JP / ホロライブドリームス +3 Jailed Cheats
      Modded/Hacked App: ホロライブドリームス By QualiArts, Inc.
      Bundle ID: game.qualiarts.hololive.dreams.jp
      App Store Link: https://apps.apple.com/jp/app/%E3%83%9B%E3%83%AD%E3%83%A9%E3%82%A4%E3%83%96%E3%83%89%E3%83%AA%E3%83%BC%E3%83%A0%E3%82%B9/id6756641135?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Unlimited Jump
      - Freeze HP
      - Always Perfect

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App







       

      📖 PC Installation Instructions

      STEP 1: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see our iOSGods App IPA Download Tutorial which includes a video example.
      STEP 2: Download Sideloadly and install it on your Windows or Mac.
      STEP 3: Open Sideloadly on your computer, connect your iOS device, and wait until your device name appears in Sideloadly.
      STEP 4: Once your iDevice is recognized, drag the modded .IPA file you downloaded and drop it into the Sideloadly application.
      STEP 5: Enter your Apple Account email, then press “Start.” You’ll then be asked to enter your password. Go ahead and provide the required information.
      STEP 6: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 7: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles / VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 8: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A
      • 13 replies
    • EGGRYPTO: Hatch! Own! Monster +2 Cheats
      Mod APK Game Name: EGGRYPTO: Hatch! Own! Monster By Kyuzan Inc.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.KyuzanInc.Eggrypt

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download via the iOSGods App for Android







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 16 replies
    • Idle Bank Tycoon: Money Game +1 Jailed Cheat
      Modded/Hacked App: Idle Bank Tycoon: Money Game By Kolibri Games GmbH
      Bundle ID: com.luckyskeletonstudios.idlebanktycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-bank-tycoon-money-game/id1645281275?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Freeze Currencies


      Jailbreak required hack(s): 


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App








      PC Installation Instructions:
      STEP 1: If necessary, uninstall the app if you have it installed on your iDevice. Some hacked IPAs will install as a duplicate app. Make sure to back it up so you don't lose your progress.
      STEP 2: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see this tutorial topic.
      STEP 3: Download Sideloadly and install it on your PC.
      STEP 4: Open/Run Sideloadly on your computer, connect your iOS Device, and wait until your device name shows up.
      STEP 5: Once your iDevice appears, drag the modded .IPA file you downloaded and drop it inside the Sideloadly application.
      STEP 6: You will now have to enter your iTunes/Apple ID email login, press "Start" & then you will be asked to enter your password. Go ahead and enter the required information.
      STEP 7: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 8: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles/VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 9: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. Jailbroken iDevices can also use Sideloadly/Filza/IPA Installer to normally install the IPA with AppSync. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - AlyssaX64


      Cheat Video/Screenshots:

      N/A
      • 235 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines