6/15: Combine Search Criteria 🎯🤖
🔍 Combine conditions with find /path -name "*.txt" -size +1M. It's like customizing your search filters.
This command searches for files with the ".txt" extension and a size greater than 1 megabyte. #LinuxSearchTricks#DevOpsSkills
7/15: Find Files by Permissions 🔐🔍
🔍 Investigate permissions with find /path -type f -perm 644. It's crucial for controlling who can access files.
This command searches for files with specific permissions. #LinuxPermissions#DevOpsSecurity
3/10: Suppose we have a file named 'example.txt' with the following permissions: '-rw-r--r--'. The first character indicates the file type, while the next nine characters represent the permissions. In this case, the owner has read & write permissions, while others can only read.
4/10: We can change permissions using the chmod command.
For instance, to grant execute permission to the owner, we would run: chmod u+x example.txt.
Similarly, we can modify permissions for groups ('g') and others ('o'). #LinuxPermissions
1/10: Hey everyone! Let's talk about advanced permission management in Linux. 🚀 As you know, Linux is known for its robust security features, and permissions play a vital role in controlling access to files & directories. Let's dive in & explore some examples! #LinuxPermissions
7/10: Another special permission is 'setgid' (s) which allows a user to execute a file with the permissions of the group owner.
To set the setgid permission for a directory, use
'chmod g+s directory'.
#LinuxPermissions
8/10: Finally, we have the 'sticky' bit (t). When applied to a directory, it ensures that only the owner of a file can delete or rename it.
To set the sticky bit, use 'chmod +t directory'. #LinuxPermissions
#IT#ITJobs#LinuxPermissions
एक JAVA(किंवा इतर) डेव्हलपर म्हणून बऱ्याच वेळेला आपल्याला लिनक्स वर फाईल ठेवून आपल्या अप्लिकेशन द्वारे प्रोसेस करावे लागते.बऱ्याच वेळी फाईल ला योग्य परमिशन नसल्यामुळे error येतात.एका नवोदित डेव्हलपर ला लिनक्स परमिशन लक्षात ठेवणे थोडे अवघड वाटू शकते👇