How do I find out that /users/f/foo/file.txt file belongs to a specific partition? How do I find out on what partition a file exits?
[continue reading…]
file names
I‘ve main domain configured at http://example.com and I’d like to use http://support.example.com with different files. How do I add subdomain support with Lighttpd web server under UNIX or Linux operating systems?
[continue reading…]
scp file:name.txt user@server1:/path
I get the following error:
ssh: Could not resolve hostname s: Name or service not known
How do I copy file with scp or rsync with a colon in it?
[continue reading…]
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?
[continue reading…]
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?
[continue reading…]
How do I run shell loop over set of files stored in a current directory or specified directory?
[continue reading…]