Showing posts with label directory. Show all posts
Showing posts with label directory. Show all posts
Saturday, July 8, 2017
Directory Opus 12 2 Build 6109 Multilingual
Directory Opus 12 2 Build 6109 Multilingual

Directory Opus | 51 MB
Directory Opus adalah sebuah salah satu file manager terbaik yang digunakan pada Windows. Buat kalian yang menggunakan Windows Explorer tentu akan mengalami kesulitan. Salah satu kelemahan dari Windows Explorer adalah tidak mendukung dual panel. Directory Opus ini beda, Directory Opus mampu mengatasi segala kekurangan Windows Explorer. Bukan cuma itu, Directory Opus juga bisa membuka berbagai macam file kompresi seperti .ZIP, RAR, 7-Zip dan sebagainya tanpa harus menginstall software-software tersebut!
Homepage : https://www.gpsoft.com.au
Changelog : http://resource.dopus.com/viewforum.php?f=1
Changelog : http://resource.dopus.com/viewforum.php?f=1
DOWNLOAD DISINI
PASSWORD RAR : www.software182.com
Monday, June 12, 2017
Disabling password complexity rule in Active Directory Windows Server2008
Disabling password complexity rule in Active Directory Windows Server2008
If you want to disable password complexity policy in Active Directory Windows Server 2008, you have to do it using Group Policy:
1. Open Group Policy Management Console (Start > Run > gpmc.msc).
2. Open the Domain, and right-click and Edit the "Default Domain Policy".
3. Go into the "Computer Configuration" > "Windows Settings" > "Security Settings" > "Account Policies", and modify the "Password must meet complexity requirements" setting.
4. Start > Run > gpupdate /force to force update the group policy.
Now you can change the users password to whatever you want.
Labels:
active,
complexity,
directory,
disabling,
in,
password,
rule,
server2008,
windows
Saturday, May 27, 2017
Disable Directory Listing in Apache on Ubuntu 14 04 but should work in other versions as well
Disable Directory Listing in Apache on Ubuntu 14 04 but should work in other versions as well
If you are a newbie to setting up a web server on Ubuntu by yourself, you might have encountered this as I do:

This is called Directory Listing in Apache server settings. And this is turned on by default.
To check if you have this problem, try to visit a directory in your apache server location with a browser, such as : localhost/someFolder
If you see something similar to the above photo, you got this problem as well.
While it might not be a huge security problem to your site, it certainly makes you not comfortable, and it is also not a very pleasant experience for users to crash into your directory like this.
However, it is actually very easy to turn it off in Ubuntu, here is how.
1. Open Nautilus (Ubuntus default file explorer,) as root in terminal using this command:
sudo nautilus
2. Then, navigate to /etc/apache2
3. From there, you will find a file named :
apache2.conf
4. Open apache2.conf with your favorite text editor.
5. Find this line: ( there are actually two lines of these, ones under <Directory /var/www/>, and another one is under <Directory /srv/>, for now, we will work on the former one since thats where our website is in.)
Options Indexes FollowSymLinks
6. Remove Indexes from this line, so that it will look like this
Options FollowSymLinks
7. Save the file, open a terminal then restart apache.
sudo service apache2 restart
And we are done, try to visit a directory under your web var/www in a browser, and you will get a 403 forbidden error.
Monday, May 15, 2017
Display All The Text Files From A Directory Using C
Display All The Text Files From A Directory Using C
DESCRIPTION:
- This program get the directory path from the user and display all the text files available in the directory.
- We should add dirent.h header file to accomplish this program.
PROGRAM:
#include <string.h>
#include <dirent.h>
#include <string.h>
const char *only_txt (const char *);
int main (int argc, char *argv[])
{
DIR *directory;
struct dirent *file;
directory = opendir (argv[1]);
int directory_length = strlen(argv[1]);
if (directory != NULL){
while (file = readdir (directory)){
if( !strcmp((only_txt (file->d_name)), ".txt") )
puts (file->d_name);
}
(void) closedir (directory);
}
else
perror ("Not able to open the directory ");
return 0;
}
/**load only .txt file**/
#include <dirent.h>
#include <string.h>
const char *only_txt (const char *);
int main (int argc, char *argv[])
{
DIR *directory;
struct dirent *file;
directory = opendir (argv[1]);
int directory_length = strlen(argv[1]);
if (directory != NULL){
while (file = readdir (directory)){
if( !strcmp((only_txt (file->d_name)), ".txt") )
puts (file->d_name);
}
(void) closedir (directory);
}
else
perror ("Not able to open the directory ");
return 0;
}
/**load only .txt file**/
const char *only_txt (const char *filespec)
{
char *file = strrchr (filespec, .);
if (file == NULL)
file = "";
return file;
}
COMPILE:
gcc -o out scan.c
RUN:
- Pass the directory name with the path as argument to the program
./out /home/sujin/directory
test.txt
README.txt
file.txt
CONCLUSION:
Changing ".txt" to any type file extension, you can customize this program for file type you like.
Tuesday, May 9, 2017
Directory structure of Ubuntu Linux
Directory structure of Ubuntu Linux
Ubuntu directory structure is a directory tree structure very much similar to directory structure of Unix. There is a resemblance between Unix directory structure and directory structure of Ubuntu Linux. The Ubuntu Linux directory structure contains the root directory / at the top with the remaining Linux system directories and file structure like hard disk, partition and other data files falling under it. It is a tree like structure and the top of the tree i.e., the highest level in the file system is the root directory /.
Some important Ubuntu Linux system directories are

1. /bin: This directory contains important binary application. It would contain the executable file for command like ls, cal, grep etc which are used in everyday Linux environment, directly or indirectly.
2. /boot: This directory contains the files needed for booting up the operating system. It include the kernel (vmlinux), ramdisk image (initrd.lz) and bootloader configuration files.
3. /dev: This Ubuntu Linux directory does not consume any space on disk and is used to keep track of devices connected to the computer including the ones which are a part of the CPU such as the disks, mouse, display,graphics card etc.
4. /etc: This is the place where you can find the configuration files of the base OS and other installed applications and startup scripts. It contain all the configuration files, ranging from the ones which control the booting of computer to the ones which can change the behavior of installed software and services.
5. /home: It is the user profile folder in Linux similar to the c:/ user folder in Windows. Each user on the system would have a separate directory within this sub-directory.
6. /lib: The system libraries required for the proper functioning of installed software are present in this Linux directory. Library in context of computing is define as a reusable resource that can be used by more then one software.
7. /lost+found: This contains the lost and found files of your / directory.
8. /media:This directory is not a part of the Linux directory structure. It is the system directory file which help to recognize all the mounted removable media such as CD, external hard drives, USB drives, cameras etc.
9. /mnt: This Linux directory is used to create mount point for other systems which are attached to the computer on boot, e.g. Windows partitions.
10. /opt: This directory provides a location for optional applications to be installed.
11. /proc: This virtual directory does not consume any space on disk but exists only in the system memory. This directory is freely available for browsing only to the root user.
12. root: This is commonly known as the slash-root directory, it refer to / as root in Ubuntu Linux.
13. /sbin: This directory is also available to root user. It contains commands to change system wide settings.
14. /srv: This directory acts as a temporary location for data meant to be used by servers.
15. /sys: This directory contains system-specific information meant as reference for other applications.
16. /tmp: As the mane suggest, it acts as storage for temporary files.
17. /usr: This is where most of your applications and files will be stored, as anything present here is available for all users to acccess. It can be also be called as the program files folder for Linux.
18. /var: This is a directory for variable files such as logs and databases. Notice the contrast with the /tmp directory.
Tuesday, April 18, 2017
Display All The Files From A Directory Using C
Display All The Files From A Directory Using C
DESCRIPTION:
- This program get the directory path from the user and display all the filed from the directory.
- We should add dirent.h header file to accomplish this program.
PROGRAM:
#include <stdio.h>
#include <string.h>
#include <dirent.h>
int main (int argc, char *argv[])
{
DIR *directory;
struct dirent *file;
directory = opendir (argv[1]);
int directory_length = strlen(argv[1]);
if (directory != NULL){
while (file = readdir (directory))
printf("FILE : %s ",file->d_name);
(void) closedir (directory);
}
else
perror ("Not able to open the directory ");
return 0;
}
COMPILE
gcc -o out scan.c
RUN:
- Pass the directory name with the path as argument to the program
./out /home/sujin/directory
FILE : favicon.ico
FILE : README.txt
FILE : monkey.jpg
FILE : index.html
Subscribe to:
Posts (Atom)