Quantcast
Channel: nixCraft
Browsing all 90 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Ubuntu Linux Install Apache 2 Web-Server Software

How do I install Apache 2 software under Ubuntu Linux?

View Article


Image may be NSFW.
Clik here to view.

How To Read / Print $PATH Shell Variable

Q. I'm new to Unix / Linux and I'd like to print current values of $PATH variable. How do I read $PATH from a shell prompt?

View Article


FreeBSD Display Environment Settings

Q. How do I display shell environment settings under FreeBSD operating systems? A. Use the env utility to print or modify environment settings. It executes another utility after modifying the...

View Article

How To Find and Overcome Shell Command Line Length Limitations

While using mv or rm command I get command line length error (Argument list too long error). How do I find out current running shell command line length limitations? How do I overcomes these...

View Article

Image may be NSFW.
Clik here to view.

FreeBSD csh / tcsh: Export Shell Variable

Q. I'm using FreeBSD 7 with csh (tcsh) shell. How do I export shell variable under FreeBSD operating systems?

View Article


Image may be NSFW.
Clik here to view.

UNIX: Set Environment Variable

How do I set environment variables on UNIX systems?

View Article

Image may be NSFW.
Clik here to view.

Unix / Linux: TCSH / CSH Shell Set Variable

How do I set environment variables using c shell (tcsh or csh) under FreeBSD UNIX or Linux operating systems? How do I save variable using csh shell under Unix like operating systems?

View Article

Image may be NSFW.
Clik here to view.

Explains: echo Command (echo $”string”) Double-quoted String Preceded By a...

I noticed that many shell scripts in /etc/init.d/ directory use the following syntax:echo $"Usage $prog start|stop|reload|restart" Why a double-quoted string preceded by a dollar sign ($"string")...

View Article


Image may be NSFW.
Clik here to view.

Linux: Set Environment Variable

Bash shell is used for various purposes under Linux. How do I customize the shell environment variable under Linux operating systems?

View Article


Image may be NSFW.
Clik here to view.

Linux / Unix Shell: Set Default Printer

How do I set default printer in my Bash shell under CentOS Linux or FreeBSD unix desktop operating systems?

View Article

Image may be NSFW.
Clik here to view.

Unix / Linux: Maximum Character Length of Arguments In a Shell Command

What is the maximum character length of arguments in a shell command? How do I find out the maximum length of arguments for a new process under Linux or Unix like operating systems?

View Article

Image may be NSFW.
Clik here to view.

How to install lftp on FreeBSD using the CLInixCraft

I need to download a large file and get the specified file using several connections to speed up downloads on FreeBSD. How do I install lftp and download files using FreeBSD?Love this? sudo share_on:...

View Article

Image may be NSFW.
Clik here to view.

Interview with Michael Lucas *BSD, Unix, IT and other books authornixCraft

Michael Lucas is a famous IT book author. Perhaps best know for FreeBSD, OpenBSD, and Unix book series. He worked as a system administrator for many years and has now become a full-time book writer....

View Article


Image may be NSFW.
Clik here to view.

How to upgrade ZFS storage pools version on FreeBSDnixCraft

When we update FreeBSD from 12 to 13, we get an updated version of ZFS. FreeBSD 13 released with OpenZFS support with various performance boosts. Sometimes OS patching and minor FreeBSD upgrade can...

View Article

Image may be NSFW.
Clik here to view.

Stopping cron sending email alert for Linux/Unix jobsnixCraft Updated...

{Updated} How do I to disable the email alert send by crontab? When my job is executed and the jobs cannot run normally it will sent an email to root. Why do I receive e-mails to my root account from...

View Article


Image may be NSFW.
Clik here to view.

How to use df command in Linux / Unix {with examples}nixCraft

We use the df command to find total disk space and available space on a Linux / Unix file system. Let us see how to use the df command to view the amount of free space left on your Linux, macOS, *BSD...

View Article

Image may be NSFW.
Clik here to view.

ls* Commands Are Even More Useful Than You May Have ThoughtnixCraft Updated...

{Updated} Everything is a file under Linux and ls* and friends can help you to dig out more information from the system than you originally thought. These Linux tips may come in handy when you need to...

View Article


Image may be NSFW.
Clik here to view.

Quick Tip: Turn off the login banner in Linux or Unix .hushlogin filenixCraft

Did you know? You can turn off the banner in Linux or Unix using a particular file. When you log in using ssh or other methods, you will find tons of information on the screen. Here is how my FreeBSD...

View Article

Image may be NSFW.
Clik here to view.

How to install X Window System XQuartz on macOS for ssh X11...

{Updated} Learn how to set up and use ssh based X11 forwarding on your macOS so that you can run graphical apps on your Mac from Linux or *BSD/Unix system.The post How to install X Window System...

View Article

Image may be NSFW.
Clik here to view.

How To Update Samsung SSD Firmware on LinuxnixCraft

Typically, we apply firmware updates to fix a security issue and enhance SATA/PCIe/NVMe solid-state (SSD) drive performance. Failing to install available updates may lead to vulnerable SSD. This quick...

View Article
Browsing all 90 articles
Browse latest View live