Skip to content
tanazd1-octo edited this page Mar 26, 2026 · 1 revision

su

Lightweight su-like command (non-root).

⚡ Part of termux-miscellaneous


📌 Description

su is a custom command that mimics basic behavior of the standard su but does NOT provide real root access.

It is designed for convenience, testing, or controlled command execution.


⚠️ Important

This is NOT the real su.

  • ❌ No root privileges
  • ❌ No system-level access
  • ✅ Safe user-level behavior

⚡ Usage

su <command>

🧪 Examples

su ls
su "echo Hello"

🧠 What it does

Depending on implementation, su may:

  • Execute commands in a controlled environment
  • Act as a wrapper around shell execution
  • Simulate privilege-like behavior without actual elevation

🔧 Behavior

May behave similar to:

bash -c "<command>"

or a custom execution wrapper.


📁 Notes

  • Runs entirely in user space
  • No special permissions required
  • Safe to use in Termux

⚠️ Limitations

  • Cannot access restricted system files
  • Does not bypass Android security
  • Not a replacement for real root

🚀 Tips

  • Use for testing command execution
  • Combine with other tools:
tc "su ls" "echo Done"

🧩 Related

  • c → custom shell
  • ns → run scripts without shebang
  • x → extract archives
  • tc → multitask commands
  • cdt → run commands in other directories

Clone this wiki locally