You can use an SSH client to create a SOCKS proxy on your local Linux machine. This feature is useful for bypassingfirewalls, securing your internet connection, or accessing remote network resources as if you were on the remote network. The syntax for creating a dynamic port forward is: ssh ...
If you liked this post about ten useful lsof commands in Linux with examples, please share it with your friends on social networks or simply leave a reply below.
We’ll look at some of the most used ss commands with examples to help make your use of this great tool easier. We will use anUbuntu VPSrunning version 22.04, but this should work on any modern Linux distribution. Let’s get into it. Prerequisites A Linux VPS or computer running a mod...
GNU Screen, or screen, is a tool to multiplex a terminal between several processes. With screen, you are able to run multiple session instances from a single terminal session. Let’s go over some useful screen commands in Linux and explain how this versatile tool works. Screen also allows y...
$ scp -r user@host.com:/opt/example ~/my_examples sed Convert the DOS \r\n to Unix \r file format. $sed 's/.$//' filename Print file content in reverse order $ sed -n '1!G;h;$p' thestuff.txt Add line number for all non-empty-lines in a file $ sed '/./=' thestuff...
Create a User with the User ID in Linux NOTE: Make sure the value of a user ID must be unique from any other already created users on the system. 4. How to Create a User with a Specific Group ID Similarly, every user has their ownGID(Group Identifier). We can create users with sp...
Whereas you can work with files using the graphical user interface in a Linux operating system, most Linux users prefer interacting with the operating system from the terminal. As such, Linux has commands that allow users to work with files right from the terminal. One such command is thecat...
15 ‘cd’ Command Examples in Linux Learn The Power of Linux ‘history’ Command Conclusion As a Linux user, it is always important to know the type of command you are running. I believe, with the precise and simple-to-understand explanation above including a few relevant illustrations, you...
This article provides practical examples for 50 most frequently used commands in Linux / UNIX. This is not a comprehensive list by any means, but this should give you a jumpstart on some of the common Linux commands. Bookmark this article for your future
More ssh examples:5 Basic Linux SSH Client Commands 5. sed command examples When you copy a DOS file to Unix, you could find \r\n in the end of each line. This example converts the DOS file format to Unix file format using sed command. ...