How To Delete All Files And Folders In Linux

To delete all files and folders in Linux, you can use the rm command with the -r option, which recursively deletes files and directories. Before using this command, be sure you know what you’re doing, as it will delete all files and directories in the specified location. Here’s how to delete all files and folders … Read more

OpenBSD: Find Out Memory RAM Size Information

To find out the memory (RAM) size information on an OpenBSD system, you can use the dmesg command, which displays system boot messages and other kernel information. To display memory size information, open a terminal window and type the following command: dmesg | grep memory This will display information about the amount of RAM installed … Read more

Solaris UNIX: Show All Network Interfaces

To show all network interfaces on a Solaris UNIX system, you can use the ifconfig command. The ifconfig command is used to configure and display network interfaces. To display information about all network interfaces, including inactive interfaces, use the following command as the root user: ifconfig -a This command displays information about all network interfaces, … Read more

HowTo: Restart UNIX System / Server

To restart a UNIX system or server, you can use the shutdown command with the appropriate options. The shutdown command is used to halt or reboot the system. To restart the system immediately, use the following command as the root user: shutdown -r now This command instructs the system to reboot immediately. You can also … Read more

Shut Down a Solaris UNIX System

To shut down a Solaris UNIX system, you can use the init command with the appropriate run-level. The init command is used to change the run-level of the system. To shut down the system immediately, use the following command as the root user: init 5 This command changes the run-level to 5, which is the … Read more

HowTo: UNIX Restart Apache Server

To restart the Apache web server on a UNIX system, you can use the following command: sudo systemctl restart apache2 This command will restart the Apache web server, which is the service responsible for serving web pages. If your system is running an older init system (such as SysVinit or Upstart), you can use the … Read more

How To Restart SSH Service under Linux / UNIX

To restart the SSH (Secure Shell) service on a Linux/Unix system, you can use the following command: sudo systemctl restart sshd This command will restart the SSH daemon, which is the service responsible for handling incoming SSH connections. If your system is running an older init system (such as SysVinit or Upstart), you can use … Read more