≡ Menu

find command

Linux / Unix: Find and Delete All Empty Directories & Files

How do I find out all empty files and directories on a Linux / Apple OS X / BSD / Unix-like operating systems and delete them in a single pass?
[click to continue…]

Linux / Unix: Find Hidden Directories, Files and Folders

I‘m a new Unix user and trying to find the hidden directory called .movies but I do not know where it is on the file system. How do I find a hidden folder or directories under Unix like operating systems?
[click to continue…]

Where Is The Xorg.conf File Located under Unix / Linux / BSD?

I want to find and edit my xorg.conf file for tweaking and configure it for new settings. The problem is that I’m unable to find the file. According to my research, xorg.conf should in /etc/X11 or /usr/X11R6/lib/X11/ directory. I found directories but not the file in directories. How do I find the xorg.conf under Unix or Linux like operating systems?
[click to continue…]

How To Set Readonly File Permissions On Linux / Unix Web Server DocumentRoot

How do I set a read-only permission for all of my files stored in /var/www/html/ directory?
[click to continue…]

How To List Directories In Linux or Unix Recursively

I‘m a new Linux and Unix-like system shell user. How can I get a recursive directory listing using command prompt on a Unix-like systems?
[click to continue…]

Linux / UNIX: HowTo Empty Directory

How do I empty a directory (delete all files) under Linux / Unix without deleting directory itself?
[click to continue…]

Linux / Unix: Bash Find Matching All Dot Files

A dot-file is generally any file whose name begins with a full stop. In Linux or Unix like operating system it is also called as hidden file. How do I list all dot files in my home directory?
[click to continue…]

TCSH / CSH / C Shell Check Whether a Directory is Empty or Not

How do I check whether a directory is empty or not under Linux / UNIX using a TCSH / C shell script?
[click to continue…]

Linux: Delete / Remove User Account

How do I remove a user’s access from my server? How do I delete a user account under Linux operating systems include home directory and running cron jobs?
[click to continue…]

Backtrack 5 KDE startx Failed To Load Error and Solution

I‘ve downloaded Backtrack Linux version 5 KDE desktop 64 bit. To start a graphical interface I’ typed startx command. But it failed with the following error message:

BackTrack Linux 5 64bits Vmware Workstation Installation

BackTrack Linux 5 64bits Vmware Workstation Installation

How do I fix this problem and install Backtrack Linux version 5 KDE desktop on my hard disk?
[click to continue…]