Home > News content

Have you ever thought of running Linux on iOS?

via:博客园     time:2018/11/19 14:44:41     readed:265

Have you ever thought about running the Linux system on IOS devices? Or do you use shell to transfer files, write scripts, or use Vi to develop code?

Here is a good news. Now there's something called iSH that you can use to do the above on an IOS device.

ISH is a tool that uses usermode x86 simulator to introduce Linux shell into IOS devices. Based on Alpha Linux, the program takes up less space, has certain security and is easy to use. There are almost no advertisements, plug-ins and other things that interfere with users.

Technological process

To install iSH on an IOS device, you first need to install TestFlight. With it, you can install a beta version of the program on the device, Meizizzi.

After loading TestFlight, jump to this link:Https://testflight.apple.com/join/97i7KM8OAnd then click

install-ish.jpg

Install iSH through TestFlight

Once iSH is installed, it will open normally on the IOS device. The program will have ash shell, but you can use APK package manager to execute relevant commands and install other packages.

iSH-installed.jpg

ISH installation completed

Of course, iSH has just been on line and can only run on simulators, so not all Linux programs can be used (some of the saucy-minded friends restrain themselves). But there are still some things to do, for example, SSH is still available. ISH provides some basic programs that users may use in Linux, such as Vi, wget, zip/unzip, tar, etc. (these can be viewed in the built-in command list at the end of the article).

wget-vim.jpg

The interface of WGet and Vi

Install software in iSH using APK

Alpine Linux uses the APK package manager to install the corresponding programs.

The operation of APK is simple, and can be used for a series of operations such as search, installation, listing, and deleting packages.

Enter APK info to list the currently installed packages.

Enter APK search [package_name] to search for new packages that need to be added. For example, if you need to search for PHP, enter APK search php.

Enter APK add [package_name], install new packages, for example, install php, enter APK add php, and to install Python, enter APK add python.

python-php.jpg

Install PHP and python in iSH

Finally, if you need to delete installed packages, enter APK del [package_name], for example, delete php, just enter APK delete php.

Transfer files between iSH and iCloud

Now, with iSH, the actual development and testing can be done through IOS devices, so it is very easy to transfer files to iSH through iCloud.

After installing iSH, a new path is created in the file management of the system so that users can access the iSH file system at any time and send files to other locations, such as iCloud Drive, mobile memory or Dropbox, through this folder.

files-trasnfer.jpg

Location of file system

If you want to transfer a file from iSH, just select the file and click

Unfortunately, the file transfer is one-way, and iSH is still out of the loop. However, users can also use WGet to transfer files to iSH.

The /bin/ command can be summarized.

Arch ash base64 bbconfig busybox cat chgrp Chmod chown conspy CP date DD DF dmesg dnsdomainname dumpkmap echo ed egrep false attr fdflush fgrep fsync getopt grep gunzip hostname iostat IPCalc kbd_mode kill link ux32 linux64 ln logistic ZOP mime MKDIR mktemp mount M Ountpoint mpstat MV netstat nice pidof Ping Ping 6 pipe_progress printenv PS PWD reformime Rev RM run-parts setpriv set serial sh sleep stty Su sync tar touch true umount uname usleep watch zcat

/usr/bin/ can be summarized by commands.

Awk basename beep blkdiscard bunzip2 bzcat bzip2 cal chvt cksum clear CMP comm CPIO crontab cryptpw cut DC deallocvt diff dirname dos2unix Du dumpleases eject expand expr fallocate find flock fold free fuser getconf gegroups HD hexdump head NV install ipcrm all LDD less logger ls of lsusb lzcat LZMA lzopcat md5sum MESG microcom mkfifo mkpasswd NC NL nmeter nohup nproc nsenter NSLOOKUP od passwd paste pgrep kill PMAP printf pscan tree pwdx readlink LP renice reserve scannef Q setkey codes Key shred shuf smemcap sort split ssl_client strings sum TAC tail tee test time out of top tr traceroute traceroute 6 truncate TTY ttysize udhcpc 6 unexpand uniq UNIX x DOS unlinzma unlzop hare unxz unzip uptime uudecode uuencode VI vvol name WC WGet which whoamI is hoxargs XD XD XZ cat yes

OK, that's the preliminary introduction to iSH. You can also download the shoes you're interested in to try. Just be careful not to spoil your mobile phone.

Reference source:BleepingcomputerKarunesh91 compilation

China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments