Quantcast
Channel: nixCraft » shell
Browsing all 19 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

FreeBSD: Enable Colorized ls Output

FreeBSD has ls command to list directory contents. You can pass the -G option to the ls command to enable colorized output. For example, type the following command at shell prompt to get colorized...

View Article



FreeBSD: Becoming Super User (su) or Enabling su Access For User Account

The superuser is a privileged user with unrestricted access to all files and commands. The superuser has the special UID (user ID) 0. You need to become super user (root) only when tasks need root...

View Article

Use Crontab Command With sys account

Explains how to use Crontab Command With sys account and EDITOR variable.

View Article

Linux display bandwidth usage on network interface by host

iftop command listens to network traffic on a named network interface, or on the first interface it can find which looks like an external interface if none is specified, and displays a table of current...

View Article

Howto: Linux write (burn) data to DVD or DVD/RW

In order to write DVD/DVD-RW from shell prompt you need to install a package called dvd+rw-tools. DVD is another good option for backup, archiving, data exchange etc. You can install dvd+rw-tools with...

View Article


Image may be NSFW.
Clik here to view.

FreeBSD Reset or Recover Root Password

With FreeBSD version 5.4 and above the booting procedure is slightly changed. The older version of FreeBSD uses the boot -s option at Ok prompt. However, with FreeBSD version FreeBSD 5.4+ you don't...

View Article

Run a perl or shell script cron job on the first Monday or the Nth weekday of...

This is a classic problem. One of our FAQ is about cron job. I received lots of email with a question: How do I run my script on 3rd Monday or 4th Friday only? Cron does not offer this kind of facility...

View Article

Image may be NSFW.
Clik here to view.

Run wget In Background For an Unattended Download of Files

Here is a quick tip, if you wish to perform an unattended download of large files such as Linux DVD ISO file use the wget command as follows:

View Article


Image may be NSFW.
Clik here to view.

Learning and Mastering the Linux VI / VIM Editor [ PDF version ]

VIM is my preferred text editor for configuring system and writing code at a shell prompt. However, many new Linux user finds it difficult to cope with vim or vi. This tutorial provides a good...

View Article


Bash Shell Completing File, User and Host Names Automatically

Bash can auto complete your filenames and command name. It can also auto complete lots of other stuff such as: => Usernames => Hostname => Variable names => Fine tuning files and names with...

View Article

How to: Configure User Account to Use a Restricted Shell ( rssh )

Now rssh is installed. Next logical step is configure user to use rssh. All you have to do is set a user account shell to /usr/bin/rssh. The following examples adds user didi to system with...

View Article

Image may be NSFW.
Clik here to view.

Linux / UNIX Bash: Copy Set of Files to All Users Home Directory

If you would like to copy a set of files for all existing users, use the following scripting trick. It will save lots of manual work.

View Article

scapy – Interactive Packet Manipulation / Generation Tool for Linux / UNIX

Recently I started to play with scapy - a powerful interactive packet manipulation and custom packet generation program written using Python. Please note that this tool is not for a new Linux / UNIX...

View Article


WordPress 2.5 Released

WordPress 2.5 has been released and available for download.The dashboard is cleaner, faster, less cluttered. From the release note: WordPress 2.5, the culmination of six months of work by the WordPress...

View Article

Using Color Effectively At a Shell Prompt / Console

I find it very productive working in a terminal environment, as it's efficient and flexible to deal with processes and data, especially text, and especially on remote machines.

View Article


mplayer: Play All Mp3 Files In Reverse Order

Reverse order files while sorting and play with mplayer multimedia player.

View Article

Goosh.org Unix-like Shell For Google

This google-interface behaves similar to a unix-shell. You type commands and the results are shown on this page.

View Article


How To Secure Mac OS X Computer ( Hardening Mac )

The guides are designed to give instructions and recommendations for securing Mac OS X and for maintaining a ultra secure computer system.

View Article

Image may be NSFW.
Clik here to view.

How To: Build an Embedded Linux Distribution From Scratch

Embedded Linux is the use of a Linux operating system in an embedded computer systems such as a mobile phones, personal digital assistants, media players etc. This tutorial shows you how to install...

View Article
Browsing all 19 articles
Browse latest View live




Latest Images