Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#342 closed defect (fixed)

replace the "cd dir && ln" commands with a single ln command

Reported by: gerard@… Owned by: gerard@…
Priority: normal Milestone:
Component: Book Version: CVS
Severity: normal Keywords:
Cc:

Description

Example:

cd $LFS/bin && ln -sf bash sh

Change to:

ln -s bash $LFS/bin/sh

Change History (4)

comment:1 by gerard@…, 22 years ago

Owner: changed from lfs-book@… to gerard@…
Status: newassigned

comment:2 by gerard@…, 22 years ago

Extend to other commands as well that 'cd' first before doing something.

Example: cd $LFS/usr/bin && mv bzcat bunzip2 bzip2 bzip2recover bzless bzmore $LFS/bin

Could become:

mv $LFS/bin/{bzcat,bunzip2,bzip2,bzip2recover,bzless,bzmore}

comment:3 by gerard@…, 22 years ago

uhm make that:

mv $LFS/usr/bin/{bzcat,bunzip2,bzip2,bzip2recover,bzless,bzmore} $LFS/bin

comment:4 by gerard@…, 22 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.