Umesh Mittal
Tuesday, 28 November 2017
Clone ownership and permissions from another file on Linux
Both chown and chmod commands has option '--reference' to clone ownership and permissions
chown
--
reference
=<
srcFile> <destFile>
chmod
--
reference
=
<
srcFile> <destFile>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Total Pageviews
Labels
artifactory publishing
(1)
assembly programming
(1)
BiPredicate
(1)
clone file ownership
(1)
clone file permission
(1)
clone file permissions
(1)
clone ownership
(1)
clone permission
(1)
clone permissions
(1)
Data binding
(1)
data structure
(1)
Function Pointer
(1)
Gradle dependencies
(1)
gradle dependencies to artifactory
(1)
Gradle publish
(1)
hello
(1)
Java native
(1)
JFROG publishing
(1)
JNI
(1)
LAMDA
(1)
Linux performance tools
(1)
Linux shell script
(1)
mavel local
(1)
maven local repo from Gradle
(1)
maven repository
(1)
MavenPublication
(1)
memory profiling
(1)
microprocessor
(1)
Parameter Substitution
(1)
POM with dependencies
(1)
recursion
(1)
recursion on large data set
(1)
recursion stack-overflow
(1)
recursion with large data
(1)
running Valgrind for JNI
(1)
stack-overflow
(1)
Tail Call Optimization
(1)
TCO
(1)
Valgrind
(1)
X-Server audit
(1)
X-Server log level
(1)
Popular Posts
Nonlinear data structures tree vs graph
Tree - is a hierarchical data structure of nodes. Nodes are usually structured in the parent-child manner. However line joining two nod...
Java native library memory profiling using Valgrind
Our Java application interacts lot with our native libraries for various computation purposes, for those native we wanted to conduct the ...
Adding environment from external/workspace file into the Jenkins pipeline
// Reading workspace inside pipeline script file using 'readProperties or readFile', def props = readProperties file: 'te...
Gradle MavenPublication : generating POM having dependencies
Maven publishing: The publication doesn't know about dependencies, so generating dependencies will have to done manually. In our case...
Creating maven repository from Gradle dependencies (upload on local artifactory)
1) Take back-up of $USER_HOME/.m2/repository folder and perform 'gradle install' >> gradle install 2) ...
Hello World!
Hello from Umesh Mittal. This blog will contain some of my technical thoughts and learnings, as well as some personal ones.
Radar slant and blind range
Slant range: Slant range is line of sight distance between radar antenna and flying aircraft. The distance is determined by measurin...
Avoiding Stackoverflow using recursion in Java (Tail Call Optimization)
One of the biggest concerning issue with recursion is ‘stack-overflow’ especially when dealing with large scale of data. I always wond...
X server auditing logs
To enable the log for the X Server auditing logs root>> vi /etc/inittab Add the -audit option to the X Server startup >...
Parameter substitution in Linux shell
Following the table of parameter substitution in shell based on if parameter is set / empty (‘null’) / or unset : +--------------...
No comments:
Post a Comment