Linuxopsys Profile picture
Dec 14 40 tweets 13 min read Twitter logo Read on Twitter
If you want to learn Linux for FREE, open this (a thread of our Linux threads): Image
1. Permissions

The operating system controls file access in Linux by utilizing file permissions, attributes, and ownership. In Linux, file permissions, attributes, and ownership determine the level of access that system programs and users have to files.

2. paste command in Linux explained

(simple yet powerful way to merge and organize data from multiple text files):

Learn more about the paste command in this master guide:

3. Basename command

The basename command in Linux prints the last element of a file path. This is particularly helpful in bash scripts where you only want the file name from a given file path.

Learn more in this thread:

4. pushd and popd

pushd and popd give you the ability to manage your directory stack and easily switch between directories, making them a must-have tool for any Linux user looking to maximize their efficiency and productivity:

5. Log parsing commands

Logs are a critical component of system and application management, providing valuable info for troubleshooting, performance analysis, security analysis, and compliance.

Learn more about the commands in this threads:
6. Learn about git

Most people who knoww Git think of it as a software project repository. It's actually more than that. It's useful for any type of file, but especially for config files that are updated on a regular basis.

7. Check memory usage in Linux:

As sysadmin or Linux power user in some cases, we may run out of memory, resulting in very slow response times or our server becoming unresponsive, and you will want to know how much memory is being used by the process.

8. Linux networking commands that every sysadmin should know:

9. User management

The useradd command is the main tool for adding new users to a Linux system.

This command allows you to quickly create a new user account and configure the user's $HOME directory structure

10. Easily search for files in linux

Knowing how to locate files in your filesystem is crucial for a developer or sysadmin.

Here are 7 Linux command-line tools to help you quickly and easily search files on your system:

11. usermod is a cmd-line tool for modifying a user's login details.

It is used to change the information of an existing user account, such as the username, user ID, home directory location, user groups, password, default login shell, and so on.

13. Wildcards explained

Wildcards are characters or groups of characters that enable you to create a pattern for searching or matching text on strings, filenames, or directories.

Let's dive into the topic ↓🐧

14. Linux absolute path and relative path explained:

In this thread, we will look at the important concepts of absolute path and relative path, which will allow you to navigate the file system without hesitation.

15. Linux guide

Learning Linux operating systems is an important skill for various computer science fields. Apart from cybersec Linux knowledge is also beneficial in software development, system admini, data science, and cloud computing, to name a few.

16. Bash scripting master guide

If you want to learn Linux bash scripting for FREE, open this:

17. Books you can read to learn and improve your Linux knowledge:
17. Process management

Knowing when and how to stop running processes is a essential skill for sysadmins. When a process becomes stuck, it only takes a gentle nudge to restart or stop it.

18. pidof command

pidof is a Linux command-line utility that returns the process IDs of a specific running program by its name.

Those IDs are printed on the standard output.

Learn more in this thread:
19. rsync command

As a sysadmin or Linux power user, how do you transfer files from your local system to a remote?

To synchronize directories or files to another machine we need a fast and reliable tool.
20. File compression

How to compress and decompress files in Linux using gzip command🐧 ↓

21. cat command

99.9% of Linux users use the cat command every day.

Despite this, most people do not take advantage of its full potential.

In this thread, I'll explain what the cat command:

22. Linux shells:

Bash is not the only shell available in Linux.
Here are a few more you should probably be aware of:

23. paste command in Linux explained

(simple yet powerful way to merge and organize data from multiple text files):


Image
24. Text manipulation commmands:

16 Basic Linux commands for text manipulation (save this)🧵↓
25. Distructive linux commands:

12 destructive Linux terminal commands every Linux user must be aware of (don't run these):

26. Linux directory structure explained:

The Linux operating system is known for its flexibility and robustness. One of the core components of the Linux operating system is its filesystem.

Lets dive into it:
27. Linux boot process

When you turn on your Linux computer, it goes through a series of phases before presenting a login screen that prompts you for your username or password.

Continue to read:
28. grep command

In the Linux command line, the grep command is a powerful tool for searching text within files.

Here are 11 examples of grep command usage that every Linux user, sysadmin, and developer should be familiar with 🐧 ↓

29. find command examples:

13 useful Linux find command practical examples 🧵↓
30. find command master guide

The Linux find command is a powerful tool that allows system administrators to search for and manage files and directories that match a set of criteria in the filesystem.

31. Last command in Linux explained

When managing a multiuser system, you'll frequently need to know who, when, and from where people are logging in.

last is a utility that displays information about system users' most recent login sessions.

32. Linux shell scripting basic - changing directory in shell scripts

You may want to run a shell script that changes your current working directory to another directory for convenience.

33. Understading the passwd file

Understanding the /etc /passwd file is important for managing users in Linux. The /etc/ passwd is a plain text file that contains all the crucial information for all system user accounts needed when logging in.

34. Everything you need to know about copying files in Linux (Linux basics)

As a system administrator, you will frequently need to copy files and directories from one location in the filesystem to another. The cp command makes this possible.

35. Understanding the /etc/ shadow file in Linux

As a Linux super user understanding the /etc/ shadow file is very crucial for managing Linux users.

Continue to read:
36. Input, Output, and Error Redirection in Linux

Most Unix/Linux system commands accept input from your terminal and return the resulting output to it.

A command normally reads its input from the standard input, which is usually your terminal.

37. Background Linux commands

When you run a command in the terminal, you usually have to wait for it to finish before entering another one.

This is referred to as running the command in the foreground or typically a foreground process.
38. 10 Linux tr command practical examples you should know as a system administrator (bookmark this):

That's it for today's thread.

Thank you taking your time to read it.

If you enjoyed this thread, follow us @linuxopsys for future Linux posts, which we will be posting on a daily basis.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Linuxopsys

Linuxopsys Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @linuxopsys

Nov 17
Most people who know Git think of it as a software project repository. It's actually more than that. It's useful for any type of file, but especially for config files that are updated regularly.

Git is a valuable tool not for only programmers, but also for sysadmins: Image
Using git can simplifies the administrator's life in a variety of ways.

Learn these 23 Git commands as you'll be using them 99% of the time as a system administrator:
1. git add

Used to add files to the staging area. Before a file is available to commit to a repository, the file needs to be added to the staging area also know as git index.

$ git add < file or directory>

To add all unstaged files use:

$ git add .
Read 30 tweets
Nov 2
12 Linux sed command practical examples🐧 Image
What is sed?

The Linux sed command is a stream editor that is used to process text file content like searching for patterns, finding and replacing, insertion, and deletion.
Now that you understand what sed is, let's look at some of the things you can do with it.
Read 20 tweets
Oct 21
Knowing when and how to stop running processes is a essential skill for sysadmins. When a process becomes stuck, it only takes a gentle nudge to restart or stop it.

At times, a process takes all the system resources. In both cases, you need a cmd that lets you manage a process. Image
The Linux operating system includes a number of commands for terminating errant processes (rogue processes), such as pkill, kill, and killall.

This thread will teach you how to use the kill command in Linux.
𝗚𝗲𝘁𝘁𝗶𝗻𝗴 𝘁𝗼 𝗸𝗻𝗼𝘄 𝗟𝗶𝗻𝘂𝘅 𝘀𝗶𝗴𝗻𝗮𝗹𝘀

Linux processes use signals to communicate with one another. A process signal is a predefined message that processes can either ignore or respond to. Developers define how a process will handle signals.
Read 33 tweets
Oct 18
In Linux, most people use the ls command to check a file's creation, access, and modification times, ownership, and permissions.

What if I told you there is another great way to display detailed information about files and file systems?

Open this thread to learn more about it:
The Linux ls command typically displays basic or chunk of information about a file; however, what if you want to print more information about the file? This is where the stat command comes in.
stat (short for status) is a command-line utility for displaying detailed information about specific files or file systems. It is commonly used to obtain file timestamps.
Read 25 tweets
Oct 17
In Linux, if you run a command or script in a terminal, it will be terminated as soon as you exit your terminal.

But what if you want it to run in the background until it finishes, even if you exit the terminal? The nohup allows you to do that.

Learn more on nohup in this 🧵↓
The nohup command, which stands for "no hangup," executes another program specified as its argument while blocking all SIGHUP (hangup) signals sent to the program or process.
SIGHUP is a signal that is sent to a process reporting that the terminal controlling it has disconnected or closed.
Read 25 tweets
Oct 14
In addition to UGO/RWX permissions and ACLs (Access Control Lists), Linux uses file and directory attributes to control the level of access that system programs and users have to files.

Let’s dive in! Image
File and directory attributes can be set and removed using different commands and utilities. Let's explore some commonly used attributes and how to manage them.
1. Immutable Attribute:

The immutable attribute prevents a file or directory from being modified, renamed, or deleted, even by the root user. It provides an extra layer of security to critical system files or sensitive data.
Read 23 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(