Linux

Linux is a family of open-source Unix-like operating systems based on the Linux kernel. Some of the most popular Linux distributions include Debian, Fedora, and Ubuntu.

www.linux.org

linux - ☠️ Kill a program that has 🔒 locked

☠️ Kill a program that has 🔒 locked

Run ps aux to see a list of all running processes. To the right of the process name will be a process number (pid), like 606 or 1125 or 12856. To kill the program, enter: kill <pid> If you’ve still got a problem, then try kill ...

linux - How to install Oracle Database on SuSE Linux10

How to install Oracle Database on SuSE Linux10

How to install Oracle database on SuSE Linux10? Let me explain these steps, step by step. System Requirements: Memory: 1G recommendedSwap partition: set to 2 times the memory/tmp disk space: 400MB or moreDisk space: software 3.5G data 1.2G...

linux - Linux: Run level and restart

Linux: Run level and restart

Learn to shut down or restart your Linux system, warn users that the system is shutting down, and switch to a somewhat restrictive run level. This process is unfamiliar to many Linux enthusiasts. Next, Ian Shields, a senior programmer from...

MobaXterm Personal 20.3 0UYr6Hl4lh - Unix/Linux Find Size of Files in a Directory

Unix/Linux Find Size of Files in a Directory

Wait… before I try to copy this directory recursively, how big is it?

du -sh /path/to/directory

-s : Display for the entire folder, not for all subfiles separately

-h : Display size in human-readable format: KB, GB, TB..

linux - 🔍 Search text files for a particular word or phrase

🔍 Search text files for a particular word or phrase

grep can search one or many files for a word or phrase. To search one file for the phrase “Libby the dog”, try this: grep "Libby the dog" file.txt Note that you use quotation marks around your phrase because you are searching for a...

linux - View a text file at the command line

View a text file at the command line

To view the first lines of a text file, use the head command. head file.txt = show first 10 lines of filehead -25 file.txt = show first 25 lines of file To view the last lines of a text file, use the tail command. tail...

linux - The root of Linux

The root of Linux

Linux        Linux is a collective name for a class of Unix computer operating systems. The name of the kernel of the Linux operating system is also “Linux”. The Linux operating system is also...

linux - Convert spaces to underscores using a script

Convert spaces to underscores using a script

I had several files that had spaces in their names and I wanted to convert those spaces to underscores. Here’s how I did it. If you don’t have one already, make a bin directory in your home directory: cd mkdir bin In...

linux - More or Less

More or Less

Less

ls | less

Commands to use with less:

space = move ahead a pageb = move back a pageq = quit less