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.

How to get octal file permissions on Linux/Unix command linenixCraft

I am a new Linux command line user. How do I find file permissions in octal format such as 0644 from the bash command line running on a Linux or Unix operating systems? How can I get the octal...

View Article


Improve your bash/sh shell script with ShellCheck lint script analysis...

ShellCheck is a static analysis tool for shell scripts. One can use it to finds bugs in your shell scripts. It is written in Haskell. You can find warnings and suggestions for bash/sh shell scripts...

View Article


Improve your bash/sh shell script with ShellCheck lint script analysis...

ShellCheck is a static analysis tool for shell scripts. One can use it to finds bugs in your shell scripts. It is written in Haskell. You can find warnings and suggestions for bash/sh shell scripts...

View Article

Image may be NSFW.
Clik here to view.

How to record statistics about a Linux machine’s uptimenixCraft

Linux/Unix sysadmins have a weird obsession with server uptime. There is a xkcd comic devoted to this subject where a good sysadmin is an unstoppable force that it stands between the forces of darkness...

View Article

Image may be NSFW.
Clik here to view.

Fix Host ‘IP’ is blocked because of many connection errors on...

I am trying to login to my mysql/mysqld server using the following Unix command:$ mysql -u foo -h 172.16.5.100 -p dbnmame But greeted with the following error on screen:ERROR 1129 (HY000): Host...

View Article


Image may be NSFW.
Clik here to view.

How to install Firefox 57 Quantum on a LinuxnixCraft

My Linux distro comes with Firefox ESR. I read Firefox 57 is over twice as fast as Firefox from 6 months ago, built on a completely overhauled core engine with brand new technology. How do I installed...

View Article

Download of The Day: Fedora Linux 27nixCraft

Fedora Linux version 27.0 has been released ( jump to download ) after many months of constant development and available for download in various media format. Fedora 27 is a free and open source...

View Article

Image may be NSFW.
Clik here to view.

How to install man pages on a CentOS Linux 6/7nixCraft

I have installed both CentOS Linux version 6.x and 7.x using LXD vm. I am unable to access man pages and getting the following error:     $ man date     bash: man: command not found How to install man...

View Article


Image may be NSFW.
Clik here to view.

How to use a here documents to write data to a file in bash scriptnixCraft

How do I use a heredoc redirection feature (here documents) to write data to a file in my bash shell scripts?

View Article


Image may be NSFW.
Clik here to view.

How to use a here documents to write data to a file in bash scriptnixCraft

How do I use a heredoc redirection feature (here documents) to write data to a file in my bash shell scripts?

View Article

Command line fun: Insult the user when typing wrong bash commandnixCraft

You can configure sudo command to insult user when they type the wrong password. Now, it is possible to abuse insult the user when they enter the wrong command at the shell prompt.

View Article

Command line fun: Insult the user when typing wrong bash commandnixCraft

You can configure sudo command to insult user when they type the wrong password. Now, it is possible to abuse insult the user when they enter the wrong command at the shell prompt.

View Article

Image may be NSFW.
Clik here to view.

Book review: Mastering Vim Quickly From WTF to OMG in no timenixCraft

The vim editor is a free and open source text editor. It is a clone of vi text editor. Vim is extremely popular among the Linux, macOS and Unix-like system users. Vim has many commands. It comes with a...

View Article


Image may be NSFW.
Clik here to view.

How To Install the Django Web Framework 2 on Ubuntu 16.04nixCraft

Django 2.0 released. How do I install it on the Ubuntu Linux 16.04 LTS server? How do I create a sample "Hello world" view and /admin/ section for Django 2.x?

View Article

Image may be NSFW.
Clik here to view.

How To Install the Django Web Framework 2 on Ubuntu 16.04nixCraft

Django 2.0 released. How do I install it on the Ubuntu Linux 16.04 LTS server? How do I create a sample "Hello world" view and /admin/ section for Django 2.x?

View Article


Image may be NSFW.
Clik here to view.

How to install keychain manager for ssh-agent on CentOS 6/7nixCraft

OpenSSH offers RSA and DSA authentication to remote systems without supplying a password. keychain is a special bash script designed to make key-based authentication incredibly convenient and flexible....

View Article

Image may be NSFW.
Clik here to view.

How to hide PHP 5/7 version when using NginxnixCraft

I am using PHP 5.6.xx and Nginx server on an Apline Linux server. I want to hide 'X-Powered-By: PHP/5.6.32' HTTP header. How can I hide PHP version when using Nginx along with PHP-fpm5 or PHP-fpm7?

View Article


How to upgrade Alpine Linux 3.4/3.5/3.6 to 3.7.xxnixCraft Updated...

Alpine Linux version 3.7 has been released. Here is how to upgrade it.

View Article

How to install rsnapshot remote backup server on Red Hat/CentOS LinuxnixCraft...

Learn how to setup and use rsnapshot a filesystem snapshot utility based on rsync for making backups for local/remote Linux/Unix boxes.

View Article

How to install rsnapshot remote backup server on Red Hat/CentOS LinuxnixCraft...

Learn how to setup and use rsnapshot a filesystem snapshot utility based on rsync for making backups for local/remote Linux/Unix boxes.

View Article
Browsing all 2612 articles
Browse latest View live