File system

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?

{ 47 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?

{ 1 comment }

Linux Delete Folder

by on January 28, 2009 · 2 comments

How do I delete folders under Linux operating systems?

{ 2 comments }

Q. How do I label a Linux partition? How do I display current label?

{ 11 comments }

How do I find out the canonicalised absolute pathname for a given command or file under Linux operating systems?

{ 0 comments }

Q. I want to use our NAS server to store backups. Our NAS supports FTP and CIFS / SMB sharing technology. How do I mount and store files on NAS using FreeBSD? How do I automate entire procedure using a shell script? Is that doable? If so, what’s the easiest solution ftp or CIFS?

{ 4 comments }

Q. I’ve Debian Linux installed on 10 GB hard disk and noticed that /var/cache/apt/archives/ has lots of file taking my precious 1Gb disk space. Can I remove those file safely without causing any side effect on my setup?

{ 8 comments }