linux groups command tutorial: groups syntax and groups examples
linux groups command - print the groups a user is in. Examples:View the currently logged in user or the group to which the specified user...
How to configure multiple sites on nginx and bind different domain names
A Linux server uses nginx and supports multiple domain names without affecting each other. Can save server resources and improve resource utilization....
How to using multiple delimiters in awk and sed
Multiple delimiter-separated fields in awk or sed.
Using awk command:
β awk -F'[:=|]' '{print $1, $2, $3}' test.log;
Using sed command:
β sed 's/[:=|]/ /g' test.log...
mv command tutorial in linux/unix with examples and use cases
linux mv command - move (rename) files or directories. Examples:Move multiple files,move just files, move overwrite files and backup,move multiple files ......
How to modify the host name in Ubuntu
How to change the host name? The answer is to use Linux hostname command. About the hostname command.About the /etc/hostname file.About the /etc/hosts file....
How to grep folder name in linux
How to grep folder name in Linux? Example: Use the find and grep commands grep folder name, Use the ls and grep commands grep...
cp command tutorial in linux/unix with examples and use cases
linux cp command - copy files or group of files or directories. Examples:Copy a file, Copy multiple files to directory, Copy directory and files, using...
How to search all files with specific text on Linux?
How to search all files with specific content in Linux system? Use the grep to search for specific content, Use the find and grep to...
head command tutorial in linux/unix with examples and use cases
Linux head command - output the first part of files. Print the first 10 lines of each FILE to standard output. With more...
echo command tutorial in linux/unix with examples and use cases
linux echo command - one of the most commonly used commands and is commonly used in scripting languages ββto display a line of text/string on...
Google Analytics adds website tracking code
Google Analytics adds website tracking code. Enter the Admin page, click the tracking info menu, the tracking code submenu, and you can see the tracking...
cat command tutorial in linux/unix with examples and use cases
linux cat command - concatenate files and print on the standard output. This article shares the syntax, options, and usage examples for the cat command....
tail command tutorial in linux/unix with examples and use cases
linux tail command - output the last part of files, it corresponds to the linux head command. This article introduces the tail syntax, options, and...
w command tutorial in linux/unix with examples and use cases
linux w command - Show who is logged on and what they are doing. w displays information about the users currently on...
How to split screen for mac iterm2
Iterm2 split screen – increased productivity. How to split screen for mac iterm2 ? Vertical split screen: command + d Horizontal split screen: command +...