LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-05-2018, 09:04 AM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,720

Rep: Reputation: 68
ln , linking a file


Fedora 27.
How do I create a ln (link) to /usr/share/cups/model/foomatic-db-ppds/Epson/ file from /opt/epson.

In other words how do I create a command ln * ?

Last edited by mickeyboa; 04-05-2018 at 09:10 AM.
 
Old 04-05-2018, 10:55 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Have you looked at the man page for ln? It tells you exactly how to create a link to any kind of file. Just remember to use the -s option if you want a symbolic link.
 
Old 04-05-2018, 11:49 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
remember
source -> destination
 
Old 04-05-2018, 01:54 PM   #4
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,720

Original Poster
Rep: Reputation: 68
BW-userx, I don't understand what your saying.
 
Old 04-05-2018, 02:51 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Source: a place, person, or thing from which something comes or can be obtained.

Destination: the place to which someone or something is going or being sent.
Example:
Code:
mv -v $source $Destination
cp -v $source $Destination
ln -s $source $Destination
Simple Math.
 
1 members found this post helpful.
  


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
Problem linking archive file (libz.a) - could not read symbols: file format not recognized severed_bit Linux - Embedded & Single-board computer 3 10-18-2017 01:09 AM
linking file from one another chetanraj Linux - Newbie 4 06-23-2017 12:12 AM
[SOLVED] issue linking .SO "g++: -lcyusb: linker input file unused because linking not done" rohaanembedded Red Hat 5 07-26-2013 01:14 AM
linking the .so file n using rohaanembedded Programming 2 05-15-2013 09:04 AM
linking to older file bhert Linux - General 2 02-08-2007 02:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:55 PM.

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