LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-25-2015, 05:29 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post How to open .lnk file in Linux?


Hello.
How can I open .lnk file in Linux?

Tnx.
 
Old 10-25-2015, 05:45 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
You don't. lnk files are Microsoft's version of symbolic links and only work in Windows Explorer.
 
2 members found this post helpful.
Old 10-25-2015, 05:46 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Asks a lot of questions, doesn't appear to make a lot of effort.
 
1 members found this post helpful.
Old 10-25-2015, 06:31 AM   #4
oldtechaa
Member
 
Registered: May 2015
Location: US
Distribution: Fedora
Posts: 364

Rep: Reputation: 83
No offense, hack3rcon, but the posts I've seen of your 580 all have seemed fairly simple questions. Some of these could be easier solved by googling or troubleshooting/learning yourself.
 
2 members found this post helpful.
Old 10-25-2015, 06:42 AM   #5
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
I did google and some Ubuntu pages told me that it is for Windows but I want to know can I find a way for open it? Someone recommended Wine.
 
Old 10-25-2015, 06:50 AM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by hack3rcon View Post
I did google and some Ubuntu pages told me that it is for Windows but I want to know can I find a way for open it? Someone recommended Wine.
The reason all the Ubuntu pages said was it was for Windows is because:
Quote:
Originally Posted by TobiSGD View Post
You don't. lnk files are Microsoft's version of symbolic links and only work in Windows Explorer.
You don't open .lnk files because there's nothing to open. They're usually only a few bytes in size and contain something like a bit of binary data and a path in text (I don't recall exactly as it's been a long time since I looked at one) and they don't do anything but point to another file. Without the file they link to they're useless.
The Wikipedia article on shortcuts should help explain in more detail.
 
1 members found this post helpful.
Old 10-25-2015, 06:55 AM   #7
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Thank you.
 
Old 10-25-2015, 04:14 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
have you tried something like this:
Code:
 cat "Internet Explorer.lnk"
 
2 members found this post helpful.
Old 02-07-2018, 08:52 PM   #9
RaceQuest
LQ Newbie
 
Registered: Jun 2015
Location: Perth, Au
Distribution: Android, CentOS, Slackware, Solaris, Suse, SVR4, Ubuntu
Posts: 14

Rep: Reputation: Disabled
Lightbulb

If you are looking to open lnk file types that are shortcuts to folders or file shares in mixed windows and linux network this is discussed in this thread and a few others.
 
Old 07-03-2020, 11:08 AM   #10
dennisrogers
LQ Newbie
 
Registered: Jul 2020
Posts: 1

Rep: Reputation: Disabled
Use windows emulator to recover file

I've found that some .lnk files also include the file they're link to within them. In particular I found a mkv.lnk file. If you use a windows emulator, like vmware, these files appear as the linked to (.mkv) file. Coping this file back to linux results in the original (.mkv) file.
 
Old 07-03-2020, 06:58 PM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,657

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by dennisrogers View Post
I've found that some .lnk files also include the file they're link to within them. In particular I found a mkv.lnk file. If you use a windows emulator, like vmware, these files appear as the linked to (.mkv) file. Coping this file back to linux results in the original (.mkv) file.
Please take note of closed thread datess; this original thread was opened five years ago, and it had bee closed for two, before you reopened it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening a .lnk file in OpenOffice 2 beta jilai Linux - Software 2 04-10-2006 09:56 PM
Geting error loop QFike:getch: File not open QFile:atEnd: this file is not open badgerbox76 Linux - Newbie 6 01-07-2006 05:30 PM
awk: fatal:cannot open file for reading (no such file or Directory) in Linux sangati vishwanath Linux - Software 4 07-06-2005 12:59 AM
Cannot copy file 31/2 Floppy(A).lnk u4113072 Linux - Software 0 12-07-2002 01:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration