FB - Linux Users Group
March 6, 2020
4:48 PM
25 daily tips
by Hervé Moens
1
2
3
4
5
6
7
8
WARNING - READ THIS FIRST 
It's nice when your machine boots fast but that's not the most important thing! What matters is how fast your machine is processing things! However, it is quite possible that your machine boots too slow because of an issue. Here are some tools to find out. 
9
10
tutorial [link]
By default, the file will be saved in your home directory.
11
11 of 25 TIPS - A Powerful Command
Read this first
Remember that in Linux (actually UNIX), everything is a file. 
The lsof command (list open files) is used to list the information about the files that are opened by various processes. You will discover that you can list:
processes which opened a specific file
opened files under a directory
opened files based on process names starting with
processes using a mount point
files opened by a specific user
all open files by a specific process
all network connections
all network files in use by a specific process
processes which are listening on a particular port
all TCP or UDP connections
all Network File System ( NFS ) files
First check if the lsof command is installed on your system and install it if needed. Then check and read the contents of these links:
[link]
[link]
12
13
The chmod command sets the file permissions flags on a file or folder. The flags define who can read, write to or execute the file. When you list files with the ls -l (long format) option you’ll see a string of characters that look like
-rwxrwxrwx
If the first character is a - the item is a file, if it is a d the item is a directory. The rest of the string is three sets of three characters. 
From the left, the first three represent the file permissions of the owner, the middle three represent the file permissions of the group and the rightmost three characters represent the permissions for others. In each set, an r stands for read, a w stands for write, and an x stands for execute.
If the r, w, or x character is present that file permission is granted. If the letter is not present and a - appears instead, that file permission is not granted.
One way to use chmod is to provide the permissions you wish to give to the owner, group, and others as a 3 digit number. The leftmost digit represents the owner. The middle digit represents the group. The rightmost digit represents the others. The digits you can use and what they represent are listed here:
0: No permission
1: Execute permission
2: Write permission
3: Write and execute permissions
4: Read permission
5: Read and execute permissions
6: Read and write permissions
7: Read, write and execute permissions
14
As we all know Linux is a multitasking and multi-user systems. So, it allows multiple processes to operate simultaneously without interfering with each other. Process is one of the important fundamental concept of the Linux OS. A process is an executing instance of a program and carry out different tasks within the operating system.
[link]
15
16
17
18
19
20
21
22
23
24
25