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

    • Crossword Master - Word Puzzle v2.1.0 [ +3 Cheats  ] Currency Max
      Modded/Hacked App: Crossword Master - Word Puzzle By Easybrain Ltd
      Bundle ID: com.easybrain.crossword.puzzles
      App Store Link: https://apps.apple.com/us/app/crossword-master-word-puzzle/id6547858927?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coins
      - Unlimited Booster
      • 0 replies
    • Crossword Master - Word Puzzle v2.1.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Crossword Master - Word Puzzle By Easybrain Ltd
      Bundle ID: com.easybrain.crossword.puzzles
      App Store Link: https://apps.apple.com/us/app/crossword-master-word-puzzle/id6547858927?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coins
      - Unlimited Booster
      • 0 replies
    • ZakuzakuSlash +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: ZakuzakuSlash By nekosuko
      Bundle ID: jp.nekosuko.zakuzakuslash
      App Store Link: https://apps.apple.com/us/app/zakuzakuslash/id6749934570?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - XP Multiplier
      - Unlimited Gold -> Will increase instead of decrease.
        • Thanks
        • Winner
        • Like
      • 1 reply
    • Piggy Land 3D v1.2.2 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Piggy Land 3D By PIXON PTE. LTD.
      Bundle ID: farm.piggy.animal.jam.away
      App Store Link: https://apps.apple.com/us/app/piggy-land-3d/id6762121301?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coin
      - Unlimited Booster
      - Custom Level
        • Like
      • 1 reply
    • Piggy Land 3D v1.2.2 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Piggy Land 3D By PIXON PTE. LTD.
      Bundle ID: farm.piggy.animal.jam.away
      App Store Link: https://apps.apple.com/us/app/piggy-land-3d/id6762121301?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Coin
      - Unlimited Booster
      - Custom Level
      • 0 replies
    • Dwarfs Diggers: Idle Master v0.7.4 [ +4 Jailed ] Currency Freeze
      Modded/Hacked App: Dwarfs Diggers: Idle Master By BLACK BOX DIGITAL LLP
      Bundle ID: com.bbdigital.idle.dwarfs.master
      App Store Link: https://apps.apple.com/us/app/dwarfs-diggers-idle-master/id6769121279?uo=4

      🤩 Hack Features

      - Currency Freeze
      - Resources Freeze
      - Energy Freeze
      - Troop Drop Unlimited
        • Like
      • 3 replies
    • Dwarfs Diggers: Idle Master v0.7.4 [ +4 Cheats ] Currency Freeze
      Modded/Hacked App: Dwarfs Diggers: Idle Master By BLACK BOX DIGITAL LLP
      Bundle ID: com.bbdigital.idle.dwarfs.master
      App Store Link: https://apps.apple.com/us/app/dwarfs-diggers-idle-master/id6769121279?uo=4

      🤩 Hack Features

      - Currency Freeze
      - Resources Freeze
      - Energy Freeze
      - Troop Drop Unlimited
        • Like
      • 1 reply
    • Metal Slug Rush v1.0.0 [ +9 APK MOD ] Currency Max
      Mod APK Game Name: Metal Slug Rush
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ringgames.msm

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Agree
        • Like
      • 1 reply
    • Metal Slug Rush v1.0.0 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Metal Slug Rush By REVIVECONTENTS CO.,LTD.
      Bundle ID: com.ringgames.msm
      App Store Link: https://apps.apple.com/us/app/metal-slug-rush/id6775727338?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Thanks
        • Like
      • 3 replies
    • Metal Slug Rush v1.0.0 [ +9 jailed ] Currency Max
      Modded/Hacked App: Metal Slug Rush By REVIVECONTENTS CO.,LTD.
      Bundle ID: com.ringgames.msm
      App Store Link: https://apps.apple.com/us/app/metal-slug-rush/id6775727338?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Agree
        • Like
      • 3 replies
    • Pixel Mage: Idle RPG +10 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Pixel Mage: Idle RPG By StreetComplete
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.streetcomplete.pixelmagician

       

      🤩 Hack Features

      - Damage Multiplier
      - Attack/Move Speed Multiplier
      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Blue Diamonds
      - Unlimited Blue Diamonds -> Will increase instead of decrease.
      - Freeze Red Diamonds
      - Unlimited Red Diamonds -> Will increase instead of decrease.
      - Freeze Purple Diamonds
      - Unlimited Purple Diamonds -> Will increase instead of decrease.
        • Thanks
        • Like
      • 0 replies
    • Pixel Mage: Idle RPG +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Pixel Mage: Idle RPG By YONGJIN JO
      Bundle ID: com.streetcomplete.pixelmagician
      App Store Link: https://apps.apple.com/us/app/pixel-mage-idle-rpg/id6741889270?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Attack/Move Speed Multiplier
      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Blue Diamonds
      - Unlimited Blue Diamonds -> Will increase instead of decrease.
      - Freeze Red Diamonds
      - Unlimited Red Diamonds -> Will increase instead of decrease.
      - Freeze Purple Diamonds
      - Unlimited Purple Diamonds -> Will increase instead of decrease.
        • Agree
        • Winner
        • Like
      • 10 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