List of Pre-Installed Tools
This is a curated list of utility tools that are pre-installed on all Ultra.cc servers, and therefore accessible to any user who connects to their slot terminal via Secure Shell (SSH).
This list will include a wide variety of utility tools with several use cases. Some are included in the default linux build, while others are pre-installed by staff as a complement to the official applications provided with your Ultra.cc slot.
Many of the tools will have a usage manual available by using man
. For example, you can execute man curl
, and you will see the usage manual for curl
.
7z
7-Zip is a file archiver with a high compression ratio. It supports 7z (LZMA compression algorithm), ZIP, CAB, ARJ, GZIP, BZIP2, TAR, CPIO, RPM and DEB formats. Compression ratio in the new 7z format is 30-50% better than ratio in ZIP format.
Below you will find two 7z usage examples.
-
List contents of archive:
7z l name-of-archive.7z
-
Extract contents of archive:
7z x name-of-archive.7z
For more detailed usage instructions, follow this link.
aria2c
aria2c is a lightweight multi-protocol CLI download utility tool. Supported protocols are HTTP(S), FTP/SFTP, BitTorrent, and MetaLink.
-
Download torrent file and data:
aria2c https://releases.ubuntu.com/22.04/ubuntu-22.04.2-desktop-amd64.iso.torrent
-
Limit Download speed:
aria2c --max-download-limit=10M https://releases.ubuntu.com/22.04.2/ubuntu-22.04.2-desktop-amd64.iso
-
Download URLs from a text file:
aria2c -i multiurl.txt
For more detailed usage instructions, follow this link.
cat
Cat (concatenate) is a very useful tool that can output the contents of a file into your terminal, copy content to another file and a lot more.
-
Output file contents in your terminal:
cat filename.txt
-
Copy content of file to another file:
cat filename1.txt > filename2.txt
For more detailed usage instructions, follow this link.
crontab
The crontab tool is useful for when you want to automate certain commands and execute them according to a schedule. It's available in most Linux distros by default and is can be accessed by executing crontab -e
.
The scheduling format expressions can look daunting at first glance, but it is easily managed with crontab.guru.
-
Schedule a script to execute 1AM on Monday's:
0 1 * * 1 /home/user/path/to/script.sh
To disable Email being sent to the user account executing the cronjob, you can append > /dev/null 2>&1
to the crontab entry. The above would then be entered like this: 0 1 * * 1 /home/user/path/to/script.sh > /dev/null 2>&1
For more detailed usage instructions, follow this link.
curl
curl is a tool to transfer data from or to a server. Supported protocols are HTTP(S), FTP(S)/SFTP, SCP, TFTP, DICT, TELNET, LDAP and FILE. This utility tool is highly flexible and preferred for automation since it is designed to work without user interaction.
-
Output content of a URL in the terminal:
curl https://ultra.cc
-
Download and rename a file:
curl -o hello.zip ftp://example.ftp.net/example.zip
For more detailed usage instructions, follow this link
fdupes
fdupes is a utility tool that lets you search and find duplicate files in a given set of directories of your choice. It will compare file sizes and MD5 signatures, followed by a byte-by-byte comparison.
-
Recursively search and show duplicates in terminal:
fdupes -Sr /path/to/directory
-
Recursively search and output duplicates in file:
fdupes -SR /path/to/directory > /path/to/file.txt
For more detailed usage instructions, follow this link
ffmpeg
FFmpeg is a video converter capable of encoding and decoding all kinds of video formats. It is a feature rich utility tool that can record, convert and stream audio and video.
-
Display information of media file:
ffmpeg -i video.mkv
-
Convert media file:
ffmpeg -i video_input.mkv video_output.mp4
For more detailed usage instructions, follow this link
ffprobe
FFprobe gathers information from multimedia streams and outputs in a human-readable fashion. For example, it can be used to check the format of the container used by a multimedia stream and the format and type of each media stream contained in it.
-
Show media file information:
ffprobe video.mp4
-
Inspect video stream:
ffprobe -hide_banner -v panic -select_streams v:0 -show_entries stream=bit_rate video.mp4
For more detailed usage instructions, follow this link
flac
flac is a command-line utility tool for encoding, decoding, testing and analyzing FLAC and other audio streams.
-
Encode WAV to FLAC:
flac filename.wav
For more detailed usage instructions, follow this link
Htop
Htop is an interactive process viewer for the Linux terminal, it's a highly useful utility tool as it will let you see all the processes running on the system. It is the equivalent to the task manager on Windows.
It can be accessed from the terminal by executing htop
. Once Htop is open, you can use the mouse or arrow keys to navigate the process list. Shortcuts can be found on the F-row.
-
Setup and configure:
F2
-
Tree view:
F5
-
Kill process:
F9
-
Exit:
F10
For more detailed usage instructions, follow this link
iostat
The iostat utility tool is used to show input/output statistics for devices, partitions and network filesystems (NFS). Within the Ultra.cc environment it is most commonly used to monitor the disk IO usage.
-
Show your disk's IO usage:
iostat -xk 2 $(findmnt -T ~ | awk 'END {print $2}')
For more detailed usage instructions, follow this link
LFTP
LFTP is a feature rich CLI FTP client that often is favored for its ability to handle multi-segmented transfers. Supported protocols are FTP(S), SFTP, HTTP(S), HFTP, FISH and FILE. It is also able to handle BitTorrent, though it is not recommended as there are better solutions for that.
A detailed setup guide can be found here.
-
Connect to a server:
lftp sftp://username@servername.usbx.me
-
Download file in 5 segments:
pget -n 5 ubuntu.iso
-
Download folder in 5 segments:
mirror --use-pget-n=5 NameOfDirectory
For more detailed usage instructions, follow this link
man
The Linux man utility tool is possibly one of the most important tools. The name man is a shortened version of manual pages and it holds the usage manual for basically all the usual Linux build tools and commands.
To access the usage manual, simply execute man <name-of-tool>
. For example, should you want to read the usage manual for Htop, you can execute man htop
. Once inside the usage manual, press h
for help and q
to quit.
-
Access usage manual for man:
man man
-
Search within a usage manual:
/<keyword>
. For example, to search for the word get, type/get
and press ENTER. -
Repeat previous search forward: Press
n
to search previous word forward. -
Repeat previous search backwards: Press
N
to search previous word backwards.
For more detailed usage instructions, follow this link