After four highly appreciated and such a successful series of Articles on “**Lesser Known Linux Commands**” we are here presenting you the last article on this series, obviously not the least. The previous articles are:
- [11 Lesser Known Useful Linux Commands – Part I][1]
- [10 Lesser Known Linux Commands – Part II][2]
- [10 Lesser Known Commands for Linux – Part III][3]
- [10 Lesser Known Effective Linux Commands – Part IV][4]
### 42. lsb_release ###
The command ‘lsb_release‘ print distribution-specific information. If **lsb_release** is not installed, you can apt ‘**lsb-core**‘ on Debian or yum ‘**redhat-lsb**‘ on **Red Hat** the package.
The below command output the files with respect of the user (**root**) owned files. All the files owned by user ‘root’ in the current directory.
# find . -user root
./.recently-used.xbel
./.mysql_history
./.aptitude
./.aptitude/config
./.aptitude/cache
./.bluefish
./.bluefish/session-2.0
./.bluefish/autosave
./.bash_history
All the files owned by user ‘**avi**‘ in the current directory.
# find . -user avi
./.cache/chromium/Cache/f_002b66
./.cache/chromium/Cache/f_001719
./.cache/chromium/Cache/f_001262
./.cache/chromium/Cache/f_000544
./.cache/chromium/Cache/f_002e40
./.cache/chromium/Cache/f_00119a
./.cache/chromium/Cache/f_0014fc
./.cache/chromium/Cache/f_001b52
./.cache/chromium/Cache/f_00198d
./.cache/chromium/Cache/f_003680
### 46. sudo apt-get build-dep ffmpeg ###
The below command will build the dependency, automatically during the corresponding package installation. Hence the process of package installation is very much fluent and easy.
1 upgraded, 143 newly installed, 0 to remove and 6 not upgraded.
Need to get 205 MB of archives.
After this operation, 448 MB of additional disk space will be used.
Do you want to continue [Y/n]?
### 47. lsof -iTCP:80 -sTCP:LISTEN ###
The below command outputs, name of **process/service** using a specific port **80**. To better understand run the following command on port **80**, it will list all **services/processes** running on port.
Sharing **X** session, means frequently logging in and out, this is where the **Startx** command comes to rescue. The command creates a new session thus no need to login and logout frequently from a session. In order to switch between the two X session, we need to switch between ‘**ctrl+Alt+F7**‘ and ‘**ctrl+Alt+F8**‘.
**Note**: The keys “**ctrl+Alt+F1**“, “**ctrl+Alt+F6**” is for console session, and “**ctrl+Alt+F7**“, “**ctrl+Alt+F12**” is for X session. Hence **6** console session and **6** X session, without frequent logging-in and out. The above sequence works on most of the distro, however different distro may have implemented it differently. I have checked it on Debian, and it works perfectly fine.
That’s all for now. We will be keep coming up with other lesser know commands and one liner script as required, in future articles. Do not forget to give your valueable feedback about our article and series ‘**Lesser Known Linux Commands**‘. I am coming with my next article very soon, till then, stay healthy, tuned and connected to **Tecmint**.