Recursive setacl command on Linux/Unix

Setting access control list(acl) recursively is not as straigthforward in HP/UX. I believe the same is true for other Unix flavors. In case you are wondering how, the command is shown below.
[Read more...]

Incoming search terms:

  • setacl linux
  • linux install command recursive
  • setacl recursive
  • SetACL
  • kwatog setfacl
  • setacl recursive in hp-ux
  • setacl kwatog
  • setacl hp-ux file
  • setacl en linux que es?
  • setacl command in unix

Change Ownership of File/Folder (chown)

chown kwatog /usr/kwatog

Linux Search and Replace in File

Here’s the syntax


sed 's/SEARCH_TEXT/REPLACE_TEXT/g' FILENAME > OUTFILE

SEARCH_TEXT is the text to search in filename
REPLACE TEXT is the string to be put in place of SEARCH_TEXT
FILENAME is the file to be searched
OUTFILE is the file where the output

Sample

sed 's/ORDER/VANTIVE_ORDER/g' kwatogtest.sql > kwatogsed.log

I keep on forgetting that syntax although it’s so simple. There might other ways of doing it but as of now, it’s the only way I know. :p

Incoming search terms:

  • glendale web design