Subscribe to خوراک نیکس کرفت: ترفند‌های لینوکس، هک، آموزش و ایده‌ها نیکس کرفت: ترفند‌های لینوکس، هک، آموزش و ایده‌ها
به‌روز شده: 19 ساعت 2 دقیقه پیش

How to Install and Configure latest version of Ansible on Ubuntu Linux

ش., 10/21/2017 - 14:44
I am a new Ubuntu Linux user. How do I install Ansible on a Ubuntu Linux 16.04 LTS or 17.10 desktop control machine?

How to import a OpenVPN .ovpn file with Network Manager or Command Line in Linux

جمعه, 10/20/2017 - 18:46
I have installed an OpenVPN server on a Debian Linux server. I have a client.ovpn file for my VPN server. How do I use it with Network Manager GUI? Is it possible to install or import client.ovpn file using the command line with Network Manager on a Ubuntu Linux or CentOS Linux desktop?

How to install curl command on a Ubuntu Linux

جمعه, 10/20/2017 - 12:35
I am a new Ubuntu Linux user. I switched from Apple MacOS/Macbook and I trying to run the curl command from a shell script but getting the following error:
bash: curl: command not found
How do I fix this on a Ubuntu Linux version 17.10/16.04 LTS?

How to install or compile GIMP filters/plugins/extensions on Linux

چ., 10/18/2017 - 18:14
How do I install or compile new GIMP filters on a Ubuntu or Debian or Fedora or CentOS Linux desktop system?

How to write/create a Ubuntu .iso to a bootable USB device on Linux using dd command

جمعه, 10/13/2017 - 20:28
I downloaded a Ubuntu .iso file named artful-desktop-amd64.iso on a Debian Linux system. How do I write or burn a Ubuntu .iso to a USB device for installation purpose from Linux terminal?

2 awesome open source apps to share your terminal over the web

ش., 09/23/2017 - 21:07
Want to share your terminal over the web for demo, learning or collaboration purpose? Try these two applications to share your terminal as a web application.

How to install xfs and create xfs file system on Debian/Ubuntu Linux

ش., 09/23/2017 - 19:33
I recently switched to a Ubuntu/Debian Linux server from a CentOS/RHEL 7.x. How do I install mkfs.xfs command on a Debian/Ubuntu Linux server? How do I create and manage file XFS file system on a Ubuntu or Debian Linux LTS server?

userdel: user vivek is currently used by process 749 error and fix on Linux

جمعه, 09/22/2017 - 21:34
I am trying to delete a user named vivek using the userdel command as follows
userdel -r vivek userdel: user vivek is currently used by process 749
How do I fix this problem and delete username vivek on a Debian Linux 9.x server?

How to find bash shell function source code on Linux/Unix

جمعه, 09/22/2017 - 19:44
I am a new Linux server user. I cannot figure out how to find out the source code of a bash function named foo() which is defined. How to locate the file where a bash function is defined and how to view the source code of foo() from shell prompt itself?

How to find disk I/O latency with ioping monitoring tool on Linux

پ., 09/21/2017 - 20:25
How do I monitor disk I/O latency in real time on Linux, FreeBSD, OpenBSD, and MacOS operating system?

How to find and replace text/IP address with Ansible

پ., 09/21/2017 - 11:13
I need to find an IP address in the sshd_config file and replace with a fresh one for over 100+ VMs. How do I use Ansible to do so? Is it possible to search replace single string or IP address? Yes, you can use the following Ansible modules: replace – This module will replace all … Continue reading "How to find and replace text/IP address with Ansible"

How To Run the .sh File Shell Script In Linux / UNIX

چ., 08/30/2017 - 21:29
Ihave downloaded software for my Linux or Unix-like system from the Internet. There is a file called How do I run an .sh file to install the software? How do your run .sh files from command line?

How to install FreeBSD 11 on Google Cloud Compute VM

چ., 08/30/2017 - 21:19
How can I deploy or install FreeBSD version 11.x Unix operating system on the Google cloud engine? Do I need to create my own FreeBSD disk image to start with the Google Cloud Compute?

How to colorizing cat command output or files using ccat app on Linux or Unix system

چ., 08/30/2017 - 20:21
The [nixcmd name="cat"] (short for concatenate) is one of the most frequently used flexible commands on Linux, Apple MacOS X, *BSD (FreeBSD / OpenBSD / NetBSD), Unix-like operating systems. It is useful to display text files on screen, copy text files, combine text files, create new text files and more. If you cat command with colours, try ccat app.

How to corrects your previous Linux/Unix command with thefuck app

چ., 08/30/2017 - 02:34
Let us face it we all make mistakes at the command line. Typos? Wrong options? Forget to add sudo? The list goes on. There is a neat little app called thefuck which corrects your previous Linux and Unix command line mistakes.

How To Set Up a Firewall with PF on FreeBSD to Protect a Web Server

چ., 08/30/2017 - 01:32
I am a new FreeBSD server user and moved from netfilter on Linux. How do I setup a firewall with PF on FreeBSD server to protect a web server with single public IP address and interface?

The Librem 5: Your Ultimate GNU/Linux FLOSS Smartphone

جمعه, 08/25/2017 - 00:00
Purism is well known for Linux based laptop with Coreboot. Now they started a crowdfunding campaign today for its smartphone called Purism Librem 5. What is so special about this phone? It is 100% powered by GNU/Linux. You can run any Linux distro on it. The phone provides high security and privacy features, i.e., it does not track you. This seems like an excellent device. One that I would certainly purchase or recommend to a privacy-conscious person.

Display or print UNIX / Linux path ~ $PATH variable

پ., 08/24/2017 - 14:57
I am a new Linux or Unix system user and I am using a Debian Linux VPS. How do I print current path settings under BASH or sh or ksh shell?

I put a cronjob in /etc/cron.{hourly,daily,weekly,monthly} and it does not run and how can I troubleshoot it?

پ., 08/24/2017 - 01:42

Recently I created a simple shell script called in /root/scripts directory to just backup MySQL database and dumped it to /nfs/mysql/ directory. I put a file (more like used the ln command to create a soft link ) in /etc/cron.hourly/ and it doesn't run. There was no error in systemd log or cron log. Why is my cron job was not working, and here is how I troubleshoot it.

How to delete files containing a character or number/digit in their filename on Linux or Unix

پ., 08/24/2017 - 01:05
I am a new Linux system user. How do I delete file containing a character 'a' or 'z' in their filename or digit such as '4' or '2' in their filename on Linux or Unix bash shell prompt?