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...
Service command is used to run the system V init scripts. i.e Instead of calling the scripts located in the /etc/init.d/ directory with their full path, you can use the service command. Check the status of a service: # service ssh status Check the steatus of all the services. servi...
That’s it. You just learned to use the lsof command with 10 most used options and arguments. Of course, if you have any difficulties with this, you cancontact our technical support, and they will help you. You just need to sign up for one of our NVMe VPS plans and submit a support...
sourceis a shell built-in command which is used to read and execute the content of a file(generally set of commands), passed as an argument in the current shell script. It has a synonym in. #using samba to visit network driver 1) Install cifs tool: sudo apt-get install cifs-utils 2...
Redirection Commands In LinuxRedirection commands are used to control input and output sources in Linux, allowing you to send and append output streams to files, take input from files, connect multiple commands, and split output to multiple destinations....
apmd - Is a monitor daemon and works together with the APM BIOS driver in the OS kernel. apmsleep - Sets the computer in spend or sleep mode. appres - Shows how much resources are used by a specific application. apropos - Shows all manual pages that contain the specified keywords, inclu...
mysql is probably the most widely used open source database on Linux. Even if you don’t run a mysql database on your server, you might end-up using the mysql command ( client ) to connect to a mysql database running on the remote server. ...
Ken has used Red Hat Linux since 1996 and has written ebooks, whitepapers, actual books, thousands of exam review questions, and hundreds of articles on open source and other topics. Ken also has 20+ years of experience as an enterprise sysadmin with Unix, Linux, Windows, and Virtualization...
usedPercents_2=commands.getoutput("df -h|grep -v map|grep -v sda|grep -v tmp|grep -v system|awk '{print $4}'|grep -Eo '[0-9]+'").split('\n') for i in range(0,len(usedPercents_2)): if int(usedPercents_2[i]) >= threshold: ...
Cat is also one of the most widely used Linux commands. It lets us see the contents without having to open the file, which comes in handy when you need to see contents that are susceptible to change. Wrapping up So there you have it. Eleven Linux commands that most sysadmins can’t li...