Quantcast
Channel: nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format (RSS/FEED)
Browsing all 2612 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Linux: Sort du -h (human-readable) Output By SizeFrequently Asked Questions...

I have a large number of files stored in ~/Downloads/ directory. How do I sort and print sizes in human readable format using du -h command under Ubuntu Linux LTS version 12.04 or any other Linux...

View Article


Image may be NSFW.
Clik here to view.

Top 8 Tools To Search Memory Under Linux / Unix [ Forensics Analysis...

You can dump Linux or Unix server memory. This is useful for forensics analysis, and testing your own system. This is often desirable to see:What code and what data actually resides in memory.You can...

View Article


RHEL / CentOS: Shell Script Wrapper TO Start / Stop / Restart NFSv4 Services...

A simple shell script wrapper to start / stop / restart NFSv4 service on CentOS / RHEL v.6.x server in a particular order. This script also demonstrates how to use the ln command to create soft links...

View Article

RHEL / CentOS: Shell Script Wrapper TO Start / Stop / Restart NFSv4 Services...

A simple shell script wrapper to start / stop / restart NFSv4 service on CentOS / RHEL v.6.x server in a particular order. This script also demonstrates how to use the ln command to create soft links...

View Article

Image may be NSFW.
Clik here to view.

Linux: Jpeg Image Optimization / Compress CommandFrequently Asked Questions...

I know how to optimize and compress png images using optipng command. line tool. I have lots of images in JPEG format. How do I compress and optimize JPEG images on my amazon cloud account so that I...

View Article


Image may be NSFW.
Clik here to view.

FreeBSD: Delete User Account CommandFrequently Asked Questions About Linux /...

How do I remove the tom user under FreeBSD operating system using command line options?Read answer to: "FreeBSD: Delete User Account Command"   

View Article

Image may be NSFW.
Clik here to view.

Linux / Unix Shell Script: Get The Current DirectoryFrequently Asked...

I am working on a shell script. I need to find out the current working directory. How do I get the current working directory under Bash or Ksh shell running on Linux or Unix like operating systems?Read...

View Article

Image may be NSFW.
Clik here to view.

SSH: WARNING: UNPROTECTED PRIVATE KEY FILE! Error and SolutionFrequently...

I'm setting up server on an Amazon EC2 compute instance powered by Suse Enterprise Linux server. I am using the following command to login into the my EC2 compute from OS X/Ubuntu desktop: ssh -i...

View Article


Image may be NSFW.
Clik here to view.

Linux: Start / Stop / Restart ApparmorFrequently Asked Questions About Linux...

AppArmor is a Linux Security Module (LSM) implementation of name-based mandatory access controls (MAC). How do I start / stop / restart AppArmor under Ubuntu Linux or OpenSuse / Suse Enterprise Linux...

View Article


Image may be NSFW.
Clik here to view.

Linux: Force Close A Socket / Port On Server In a TIME_WAIT StateFrequently...

I run a BT client and few other server program on Linux. Sometime these programs get overloaded with too many connections and crashes. If I restart my apps, I see lots of old IPs in a TIME_WAIT state....

View Article

Image may be NSFW.
Clik here to view.

Linux / Unix: Use rsync Command Over FTPFrequently Asked Questions About...

How do I use rsync command to sync files to a remote host called web-42.vps running VSFTPD ftp server? Can you give me rsync ftp example for Unix like operating systems?Read answer to: "Linux / Unix:...

View Article

Image may be NSFW.
Clik here to view.

Apache / Nginx / Lighttpd: PHP Disable File UploadFrequently Asked Questions...

I am in the process of setting Apache and PHP for my small business server. I'm not utilizing file upload functionality in any of my PHP scripts. How do I disallow uploading files under CentOS or...

View Article

Image may be NSFW.
Clik here to view.

Linux: Turn On TCP SYN Cookie ProtectionFrequently Asked Questions About...

I am under DoS attack. My cloud based server hosting company asked me to enable TCP SYN cookie protection to save my domain from SYN Attack. How do I turn on TCP Syn cookie protection under Ubuntu or...

View Article


Image may be NSFW.
Clik here to view.

Nginx: Block URL Access (wp-admin/wp-login.php) To All Except One IP...

I am the small business owner and runs my own web-site. I have noticed increased cracking activity against by blog. What's the best way to block WordPress URLs such as example.com/blog/wp-login.php and...

View Article

Image may be NSFW.
Clik here to view.

AWK: Remove All Blank Spaces From String / FieldFrequently Asked Questions...

I need to parse the following text file: # example.net config user = www30021 group = ftp30020 uid = 30021 gid = 30020 tmp_path = /netapp42/shared/www/images/host.example.com/tmp.bin tmp_perms =...

View Article


Image may be NSFW.
Clik here to view.

VIM: Jump Back To Previous or Last Cursor PositionFrequently Asked Questions...

Writing shell scripts in vim I usually go search for functions or something. Copy lines and then go back to where I was and modify the code. However, I need to manually navigate way back to the...

View Article

Image may be NSFW.
Clik here to view.

HowTo: Check If a Directory Exists In a Shell ScriptFrequently Asked...

How do I check if a directory exists in a shell script under Linux or Unix like operating systems?Read answer to: "HowTo: Check If a Directory Exists In a Shell Script"   

View Article


Image may be NSFW.
Clik here to view.

HowTo: Check If a Directory Exists In a Shell ScriptFrequently Asked...

How do I check if a directory exists in a shell script under Linux or Unix like operating systems?Read answer to: "HowTo: Check If a Directory Exists In a Shell Script"   

View Article

Image may be NSFW.
Clik here to view.

Debian Linux Install Eclipse Java / C / C++ IDEFrequently Asked Questions...

How do I install Java and C/C++ integrated development environment called Eclipse under Debian GNU/Linux squeeze v6.xx?Read answer to: "Debian Linux Install Eclipse Java / C / C++ IDE"   

View Article

Image may be NSFW.
Clik here to view.

The Following Packages Were Automatically Installed And Are No Longer...

I have the following message whenever I use the apt-get command under Debian or Ubuntu Linux:The following packages were automatically installed and are no longer required: libaccess-bridge-java...

View Article
Browsing all 2612 articles
Browse latest View live