Basic Linux Tips and Tricks, Part 3 - page 2
X Marks the Spot
The best advice I can give here is use the Web, keep your goal firmly in mind, stay relaxed, and open your mind; you may be looking for the chunk of information that will spark the associational chain that'll give you the answer you need, even if the right answer is not out there in the exact form you need.
If you do have to invent the right answer, post it to the forums in which you found the not-quite-right answers and as much as possible, how it solved the problem, and why it worked. Don't take it for granted that your previous solutions are 100% perfect even if they seemed to have worked, I cut and pasted an rsync command from a script I'd been using for years for backup and had trouble.
The wrong command was:
rsync -ahLvuThe right one should have been
rsync -ahLvIt turned out that adding
"u"meant that certain intended overwrites didn't happen, which I discovered when my user login stopped working. The wrong command worked because I cloned the disk via bit-copying using dd and when I ran rsync, there was never outdated information available that needed overwriting.
Bottom line: keep an open mind and take as little as possible for granted. Fixing a Linux problem is as much about attitude as about specific knowledge.
That's the most important lesson I've learned about troubleshooting Linux in the three years I've used it. And now, you know it, too.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: RHEL 6.7, BackBox Linux 4.3 and RoboLinux 8.1
- 2Linux Top 3: SLES 11 SP4, Chromixium OS 1.5 and Canonical Licensing
- 3Linux Top 3: VirtualBox 5, Point Linux 3.0 and OpenSUSE Leap 42.x
- 4Linux Top 3: Linux 4.2 rc1, 4MLinux 13 and antiX15
- 5Linux Top 3: Linux Mint Rafaela, OpenMandriva Lx 2014.2 and VectorLinux 7.1