From the category archives:

File system

I‘m using dump command to backup file systems to tape and remote server. However, I’m not able to find any option that will allow me to exclude files or directories from backup. How do I force UNIX / Linux / FreeBSD dump command to exclude selected files (such as /var/cache or /usr/basejails) which I don’t want to backup?

{ 3 comments }

The portmapper assigns each NFS service to a port dynamically at service startup time. How do I allow legitimate NFS clients to access the NFS server using RHEL / Fedora / CentOS Linux 5.x iptables firewall?

{ 8 comments }

Can you explain me usage of nullglob variable under BASH? How do I check for any *.c files in any directory?

{ 3 comments }

How do I find out all world writable directories have sticky bits set under CentOS Linux server?

{ 0 comments }

I am trying to use xargs command using shell pipes and not able to understand how to control and use command line arguments. For example I’d like to find out all *.c file located in 100s of sub-directories and move them to another directory called ~/old.src. How do I use command line args with xargs to achieve the same?

{ 10 comments }

I‘d like to match all filename like foo.c, FOO.C, fOO.c, Foo.C and so on using find command under UNIX. How do I do a case-insensitive find search under Sun Solaris / OpenSolaris UNIX systems?

{ 0 comments }

Linux Delete Folder

by Vivek Gite · 0 comments

How do I delete folders under Linux operating systems?

{ 0 comments }

nixCraft FAQ PDF Collection Now Available To All