Xargs is a filter for passing arguments to commands and a tool for combining multiple commands. Xargs can convert pipe or standard input (stdin) data…
Leave a CommentCategory: Linux
Different programming languages have different APIs for file and directory operations. It’s easier to forget when you don’t use them often, then it takes a…
Leave a CommentUsing shell scripts can greatly improve our work efficiency. There are many tutorials about how to write shell scripts on the Internet, but it‘s difficult…
Leave a CommentThis article introduces the operations related to user manegement of linux system . Including adding users, deleting users, setting user passwords, home directories, default shell,…
Leave a CommentIf you were born in an authoritarian country where human rights are being trampled, at the mean while you aspire to associate with the civilized…
Leave a CommentMethod 1 Add the user to the root group. Method 2 Edit passwd file. Set user’s UID & GID to 0. Following is the content…
Leave a CommentThis article introduces linux group management related commands, including adding groups, deleting groups, modifying groups, setting group administrators, viewing groups to which users belong, etc.…
Leave a CommentConfigure systemd services The Linux system uses systemd as the startup server management mechanism. First, copy the executable file to the /usr/local/bin directory, and copy…
Leave a Comment