Command to see media file info in terminal?

1

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker on our website.

SSH provides secure remote access to your OpenELEC install. This guide shows some basic SSH commands you may need.

SSH or Secure Shell is a basic secured network protocol that enables a secured remote control of a device that has SSH enabled. And because this is a tutorial for people who never worked with it, it doesn't need a bigger description. You don't have to be an expert so I'm only going to tell what you can do with it for use with OpenELEC's XBMC.

The main function we are using SSH now for OpenELEC's XBMC is editing the configuration files that enable or define functions like network access, SAMBA, audio, etc. Maybe in the future it will help you with more advanced functions, but then this tutorial will be updated to. Also they're working on terminal support from within OpenELEC's XBMC,...

0 0
2

This quick tutorial is going to show you how to get your Linux system information in terminal with a command line utility called screenfetch.

Screenfetch can display the following information:

the name of your distro Linux kernel version uptime the number of installed packages on your system shell name and version screen resolution the name and version of your desktop environment window manager theme, font CPU, GPU and RAM info

First let’s see how to install screenfetch on Linux. Screenfetch is available in most Linux distribution repositories.

Install Screenfetch on Your Linux Distro

Debian 8, Ubuntu 16.04/16.10, Linux Mint 18, Elementary OS Loki

Open up a terminal window and run the following command:

sudo apt install screenfetch

If you want to get the latest version as soon as possible, then install screenfetch from PPA.

sudo apt-add-repository ppa:djcj/screenfetch sudo apt update sudo apt install screenfetch

Install Screenfetch...

0 0
3
...
0 0
4

Many image viewer applications are available for Linux. The simplest, most common and powerful is ImageMagick. To proceed, select a topic from the list below or view all of the sections in order.

Checking if ImageMagick is installed

ImageMagick comprises many different commands for viewing, manipulating, and modifying images. The tool used to display files is called display. To find out if it's already installed on your system, you can open a terminal and at the command prompt, run the following command:

display -version

If ImageMagick is installed, you will see the version information:

Version: ImageMagick 6.8.9-9 Q16 i586 http://www.imagemagick.org Copyright: Copyright (C) ImageMagick Studio LLC Features: DPC Modules OpenMP Delegates: bzlib djvu fftw fontconfig freetype jbig jng jpeg [...]

Installing ImageMagick

If you don't have ImageMagick installed on your system, you can install it with your package manager. To do so, use the command...

0 0
5

If you’re working in Terminal on your Mac, you need to know the most important UNIX commands: those that work with directories, those that work with files, and miscellaneous but commonly used commands.

Folders are called directories in UNIX. Commands that refer to filenames, as most do, assume that you’re talking about files in the working directory. When you open the Terminal window, the working directory is set to your home directory, abbreviated ~. Bash shows you the current working directory and your username to the left of its prompt. The following table lists common directory-related commands.

As in Windows, you can redirect the output of a command to a text file. So if you want a record of the files in a folder, type cd, followed by a space, drag the folder’s icon to the Terminal window, and press Return. Type ls > mydirectorylist.txt and press Return again. A file named mydirectorylist.txt will appear in the folder you chose. You can open the file in TextEdit...

0 0
6

While there are many ways with which we can search and locate files and directories on Linux, the easiest and quickest is probably through the terminal. However, not many Linux users know about that, which leads to unneeded frustration. Here is a quick guide that will hopefully help you locate what you're looking for in your system.

Use the Locate command

The “locate” command is the first resort that a Linux user should utilize because it's much faster than anything else out there. The reason for this unmatched speed is that the locate command isn't actually searching your local hard disks for the files or directories that you need to find, but more like reads through the mlocate.db database file which contains all file paths in your system. To use locate, open a terminal and type locate followed by the file name you are looking for.

Locate can also tell you how many times a search keyword is matched in the database. This is achieved by including a...

0 0