• Main Menu
  • Unix

    • How to Change a Unix Password

      How to Change a Unix Password

      To change your Unix password, use the `passwd` command. ¬†Unless you are the “root” user, you will need to know your current password to set a new one. ¬†If you have forgotten your current password, you will need to contact the “root” user to have your password reset. Here is an example of the user

    • Unix Shell Scripting Tutorials

      Unix Shell Scripting Tutorials

      Unix Shell Scripting Tutorials This Unix shell scripting tutorial provides samples and instructional materials that are easy to understand and useful for Unix shell scripting. It also offers illustrated samples that will helps users explore different avenues of Unix shell scripting.   Bourne Shell Programming Tutorial Learn how to use the Unix shell with this

    • How to Capture a Unix Terminal Session

      How to Capture a Unix Terminal Session

      One of the best methods to capture a Unix terminal session is to use the `script` command. In this example we start a script session, run a couple of commands, and then use the `exit` command to stop capturing the terminal session: $ script Script started, output file is typescript $ pwd /home/will $ ps

    • How to Change a Hostname on Solaris

      How to Change a Hostname on Solaris

      Solaris makes it unreasonably difficult to change an installed server’s hostname. To change the hostname on a Solaris system, edit all of these files: /etc/hosts /etc/nodename /etc/hostname.* /etc/inet/ipnodes When file editing is complete, reboot the server to test the changes and ensure that they operate correctly. Note that changing the hostname only changes the name

    • UMASK

      UMASK

      umask is a Unix shell built-in command that automatically sets file permissions on newly created files. The umask command can be confusing to use because it does work as a mask. In other words, the user sets the permissions that he/she does not want in the umask. To calculate permissions that will result from specific

    • Where to Get a Unix Emulator

      Where to Get a Unix Emulator

      It is very useful to have a Unix emulator installed on your machine to serve as a tool for learning how to use Unix and getting used to its environment. Once you are familiar, you can go ahead and install a full version of Unix. The best Unix emulator for your needs is Cygwin (pronounced

    • How to Change an IP Address on Solaris

      How to Change an IP Address on Solaris

      To change an IP address on a Solaris system immediately, use the `ifconfig` command. The syntax for `ifconfig` is: ifconfig <interface> <ip address> <netmask> <broadcast address> If the user does not know his/her network interface names, he/she should use the `ifconfig -a` command to list all of the available network interfaces. Permanently Change an IP

    • How to Use the Unix Sort Command

      How to Use the Unix Sort Command

      The Unix sort command is a command for the Unix family of operating systems. It is designed to sort whatever information you give it. The command can be used for a variety of purposes, but it is most frequently employed when there are a number of different files which need to be ordered in some

    • Configuring a Linux DHCP Server

      Configuring a Linux DHCP Server

      DHCP is the dynamic host configuration protocol. In other words, it describes how your computer is connected to networks. Assigning an IP address dynamically is a basic task assigned to DHCP along with domain name, name server, gateway, host name and net mask. DHCP can provide other information like time server and has a capability

    • Unix File Permissions

      Unix File Permissions

      Unix file permissions are based upon an octal code. Unix file permissions are stored in a ten character array. The first character of the file permissions stores the file type. The standard file types are: Character Meaning – Plain file d Directory c Character device b Block device l Symbolic link s Socket = or

    unix
    225 queries in 0.271 seconds.