Re: username is not in sudoers folder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/11/2013 09:00 PM, Joe Zeff wrote:
On 06/11/2013 05:29 PM, Tim wrote:

Agreed.  However, it can be argued that if you know enough to do that,
you should also know enough to be careful with rm.  As root, unless I'm
deleting exactly one file, I use ls first to see exactly what I'm going
to delete.  It's a form of "measure twice, cut once" that's prevented at
least one disaster over the years.  (N.B.: once you've examined the
results of ls, the safest way to use rm is to use the up arrow to get
back the preceding command line, then edit it.  That's probably the best
way to be sure that what you delete is what you listed.)

I find that when you are going to perform some kind of action on a file,
and you have found it using ls -la, highlight the file and ctrl-shift-c.
Then whetever your command is, command ctrl-shift-v.

That's a better option than command filename-without-last-part* because there may be two or more identical first part filenames, but different extensions. The most obvious is filename and filename.bak. Another common example is a filename with two or more version numbers in the extensions.

--doug


--
Blessed are the peacemakers..for they shall be shot at from both sides. --A.M.Greeley
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux