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
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

    • Hammer the Hit : Idle RPG +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Hammer the Hit : Idle RPG By Nvibe
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.nvibe.hth

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 0 replies
    • Hammer the Hit : Idle RPG +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Hammer the Hit : Idle RPG By Nvibe Corporation
      Bundle ID: com.nvibe.hth
      App Store Link: https://apps.apple.com/us/app/hammer-the-hit-idle-rpg/id6754900741?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 0 replies
    • Big Helmets: Heroes of Destiny +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Big Helmets: Heroes of Destiny By BoomBit, Inc.
      Bundle ID: com.bighelmets.destiny
      iTunes Store Link: https://apps.apple.com/pl/app/big-helmets-heroes-of-destiny/id6745514342

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 28 replies
    • Linda Brown: Interactive Story +3 Mods [ Unlock All ]
      Mod APK Game Name: Linda Brown: Interactive Story By Supercharge Mobile
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.otherguys.lindab

       

      🤩 Hack Features

      - Free Premium Choices
      - All Episodes Unlocked
      - All Seasons Unlocked
      • 0 replies
    • Lamar - Idle Vlogger +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Lamar - Idle Vlogger By Advant Limited
      Bundle ID: com.advant.lamar
      iTunes Store Link: https://apps.apple.com/us/app/lamar-idle-vlogger/id1595314851
       
      Hack Features:
      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Gold -> Spend some.


      Jailbreak required hack(s): [Mod Menu Hack] Lamar - Idle Vlogger v151.07.05 +2 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 156 replies
    • Hatch Dragons +28 Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Hatch Dragons By Runaway Play Ltd
      Bundle ID: com.runawayplay.dragons
      App Store Link: https://apps.apple.com/us/app/hatch-dragons/id6746389113?uo=4

       

      🤩 Hack Features

      - Debug Menu -> Pre-enabled. Head into Settings and then press on Debug.
      • 15 replies
    • Lamar - Idle Vlogger +2 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Lamar - Idle Vlogger By CrazyLabs LTD
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.advant.streamer

       

      🤩 Hack Features

      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Gold -> Spend some.
      • 2 replies
    • Hatch Dragons +28 Mods [ Debug Menu ]
      Mod APK Game Name: Hatch Dragons
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.runawayplay.dragons

       

      🤩 Hack Features

      - Debug Menu -> Pre-enabled. Head into Settings and then press on Debug. 
      • 29 replies
    • Spirit King Quest +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Spirit King Quest By EIGHT STUDIO
      Bundle ID: com.eightstudio.spiritking
      App Store Link: https://apps.apple.com/us/app/spirit-king-quest/id6479593322?uo=4

       


      🤩 Hack Features

      - Damage Multiplier 
      - Defence Multiplier
      - God Mode
      • 47 replies
    • Subway Surfers City +5 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Subway Surfers City by SYBO Games
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.sybogames.subway.surfers.game

       

      🤩 Hack Features

      - Unlimited Currencies -> Earn or spend some.
      - Max Level -> Earn some XP.
      - God Mode
      - Score Multiplier
      - Unlimited Jumps 
      • 10 replies
    • Subway Surfers City +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Subway Surfers City By Sybo Games ApS
      Bundle ID: com.sybogames.subway.surfers.game
      iTunes Store Link: https://apps.apple.com/ca/app/subway-surfers-city/id6504188939?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:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Keys -> Earn or spend some.
      - Unlimited Revives - Earn or spend some.
      - Unlimited Tokens -> Earn or spend some.
      - All Boards Unlocked
      - All Surfers Unlocked
      - Max Level -> Earn some XP.
      - God Mode
      - Unlimited Score
      - Unlimited Jumps


      Jailbreak required hack(s): [Mod Menu Hack] Subway Surfers City v1.13.2 +7 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 304 replies
    • Linda Brown: Interactive Story +3 Jailed Cheats [ Unlock All ]
      Modded/Hacked App: Linda Brown: Interactive Story By Gameloft
      Bundle ID: com.otherguys.lindab
      iTunes Store Link: https://apps.apple.com/us/app/linda-brown-interactive-story/id1174041307
       

      Hack Features:
      - Free Premium Choices
      - All Episodes Unlocked
      - All Seasons Unlocked


      Jailbreak required hack(s): [Mod Menu Hack] Linda Brown: Interactive Story v4.0.2 +3 Cheats [ Unlock All ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 55 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