LFS101 feedback - Wrong information in course
Hi. Sometimes I notice small errors in the course and would like to report it. Is this the right place?
If yes, LFS101 chapter 13.1 gives the user a task to create an alias. The task solution says the alias can be made without any quotes at all because there are no white-spaces in the command. This is not true:
alias projectx=cd /tmp
will fail with:
bash: alias: /tmp: not found
Sorry if I misinterpreted anything.
Comments
-
All content related questions or issues should be posted in the forum - please make sure to specify the chapter and page titles, along with the issue encountered or suggestions. It may also be helpful to specify what distribution and version you are using, as things may vary.
Regards,
Flavia
Linux Foundation Training Team0 -
Hi, thanks for the clarification. I'm using ubuntu 22.04 but In this particular case I don't think this command usage would vary with distribution.
I suggest changing Chapter 13.1 "Deploying aliases" solution from:
The alias line would look like this: student:/tmp> alias projx='cd /home/staff/RandD/projects/projectX/src' Note you can use double quotes instead of single quotes, or use no quotes at all since there is no white space in your defined alias. All you have to do now to change to the directory is student:/tmp> projx To make the alias persistent, just place it in your $HOME/.bashrc file.
To:
The alias line would look like this: student:/tmp> alias projx='cd /home/staff/RandD/projects/projectX/src' Notice you need to use the quotes since there is a white space in the defined alias. You could choose either double or single quotes. All you have to do now to change to the directory is student:/tmp> projx To make the alias persistent, just place it in your $HOME/.bashrc file.
0 -
Thank you for the suggestion. We have started reviewing the existing content and working on updates, which will be rolled out later this year. The course authors will take your suggestion into consideration as part of the update process.
0
Categories
- All Categories
- 179 LFX Mentorship
- 179 LFX Mentorship: Linux Kernel
- 776 Linux Foundation IT Professional Programs
- 384 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 76 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 103 Cloud Native Developer IT Professional Program
- 7.7K Training Courses & Learning Paths
- 17 AI & ML Training
- 2 Blockchain & Decentralized Identity Training
- 48 Cloud & Containers Training
- 7 Cybersecurity Training
- 4 DevOps & Site-Reliability Training
- 3 Linux Kernel Development Training
- 3 Networking Training
- 2 Open Source Best Practice Training
- 6 System Administration Training
- 1 System Engineering Training
- 6 Web & Application Development Training
- 798 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 775 Linux Distributions
- 83 Debian
- 68 Fedora
- 24 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 32 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 473 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 104 Linux Security
- 79 Network Management
- 102 System Management
- 46 Web Management
- 176 Mobile Computing
- 32 Android
- 129 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 407 Off Topic
- 128 Introductions
- 35 Study Material
- 1.1K Programming and Development
- 312 Kernel Development
- 730 Software Development
- 1K Software
- 421 Applications
- 183 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)
