Skip to content
IT Nursery
  • Home
  • Programming
    • Mac / IOS
    • Android
    • Web Applications
    • PHP
    • Java
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress
  • System and Network
    • Serverfault

directory

Can I remove all the recent kernel versions at /lib/modules/

by IT Nursery

Here’s a one-liner that distills the results of the command posted by @Stephen Kitt $ dpkg -S /lib/modules/* 2>&1 | grep “no path … Read more

Tags directory, fhs, kernel-modules

Create new temporary directory

by IT Nursery

An easy way is to just create a directory in /tmp and use a symlink: mkdir /tmp/mine ln -s /tmp/mine /home/me/tmp You may … Read more

Tags boot, cron, directory, filesystems

Can a file be edited with the ‘write’ permission on it but not on its parent directory?

by IT Nursery

As the other answers have stated: Yes, the file can be edited/modified.  And, at the risk of splitting hairs, allow me to point … Read more

Tags directory, files, permissions

CLI equivalent of Gnome’s recent files feature

by IT Nursery

Ideally, the CLI equivalent would do it via gvfs schemes so as to be able to use the recent:/// location as an argument, … Read more

Tags directory, files, shell-script

Rename multiple directories

by IT Nursery

In zsh, you can use the zmv function to mass-rename files: zmv ‘(**/)doc’ ‘${1}Doc’ If you have non-directories called doc, make sure not … Read more

Tags directory, find, rename

Delete all folders containing files which match pattern

by IT Nursery

You can use bash -c to perform more advanced operations in and -exec for find. The problem with using a temp file and … Read more

Tags directory, find, rm

Is there an easy way to change directories from within one duplicate folder structure to another?

by IT Nursery

Add this function to your .bash_profile and typing cdstaging you will be able to change between any directory inside ~/dev to the equivalent … Read more

Tags bash, cd-command, directory

Preventing the creation of a specific directory

by IT Nursery

Alternatively to Fixman’s idea, you could also just make it a symlink to itself. sudo ln -s foo /tmp $ touch /tmp/foo/bar touch: … Read more

Tags directory, linux, permissions

What is the effect of “chattr +a” on a directory

by IT Nursery

What is the effect of “chattr +a” on a directory

Tags directory, linux, xattr

The number of links for a folder doesn’t reflect the real status?

by IT Nursery

The number of links for a folder doesn’t reflect the real status?

Tags directory, hard-link, ls
Older posts
Page1 Page2 … Page75 Next →

Recent Posts

  • Advice for improving internal dashboard [closed]
  • grep : ‘+’ special character
  • File location for Syslogs in Centos machine
  • How to collect users’ task completion times?
  • “service {FOO} start” vs. “/etc/init.d/{FOO} start”? [closed]
IT Nursery
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Important Link

  • About
  • Privacy Policy
  • Contact

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery
x
x