How to merge/convert multiple files into one file in linux
Merge/convert multiple files in linux.Examples:
Merge multiple files into one file,
sort and deduplicate multiple files and import one file,
sort multiple files and export duplicate content to...
How to print tree directory structure in linux/unix
Print tree directory structure in linux. Print the tree directory structure using the tree command;
Print multilevel tree directory structure using the find and awk combined...
How to display the first line and the last few lines of a file in Linux
In linux, print the first line and the last few lines of the file. Print the first line and the last 10 lines of the...
How to count the number of lines of file in Linux
In Linux, Count the total lines number,Count the total number of non repeating lines,Count the total number of duplicate lines,Count the number of times specific...
uniq command tutorial in linux/unix with examples and use cases
linux uniq command - report or omit repeated lines. Which usually requires sorted input, compares and ranks only on adjacent lines....
nohup command tutorial in linux/unix with examples and use cases
When the linux nohup command is used to run jobs (scripts) in the background, it can ignore the hangup signal and cooperate with output redirection...
setsid command tutorial in linux/unix with examples and use cases
Linux setsid command is usually used when you need to run scripts in the background. It is not affected by the terminal hangup signal....
How to use top sort by cpu and by memory in linux
top sort in linux. examples: top sort by CPU in linux, top sort by memory in linux, top sort by pid in linux, top command...
How to support uploading webp format image files in wordpress
webp upload in wordpress: In function.php, add the add_filter function to support webp format image upload, and add the preview function in the media library....
How to display images in wordpress after changing a new domain
WordPress domain replacement method:
1. Change "WordPress Address (URL)" and "Site Address (URL)" in wp_options;
2.Replace domain names in wp_posts table....
sort command tutorial in linux/unix with examples and use cases
linux sort command - sort lines of text files.examples:separate fields and sort by key, sort file, sort file/directory sizes in human readable format, sort multi...
Sed command tutorial in linux/unix with examples and use cases
sed is a stream editor. 1. sed workflow
2. hold space and pattern space explain
3. sed syntax
4. sed debug tool
5. sed example
...
How to find and delete old linux files or directories
linux delete old files script,linux delete old files by date,linux delete old files cron, scheduled task delete files older than,find and delete files older than...
linux pkill/pgrep commands tutorial: pkill/pgrep syntax and examples
linux pkill/pgrep commands:
- Syntax
- Options
- Examples:
-- List all processes whose names contain SSH and pid
-- Kill all processes with a given partial name
--...
Share some linux prank commands
linux prank commands:
- linux sl command
- linux cowsay/cowthink commands,
- linux cmatrix command
- linux figlet / toilet commands
- linux yes command
- linux oneke command...