Possible Issues, Solutions, and Helpful Commands in Linux
Others
To correct the system time if it is in the wrong timezone, use the "date" command
To manually adjust the date in the correct timezone if it is still incorrect
In case of encountering the "no-key" error on Ubuntu
To fix the issue where the user is running dash instead of bash after SSH due to user configuration
To view applications killed by the OOM Killer
Disk Operations
Checking usage and limits about current disks
Checking usage and limits on specific path
Memory Operations
Memory details
Current memory usage and limits
Processor Operations
Cpu details
Checking Cpu core count
Checking total Thread count
Checking total Thread count of Java application
Taking Dump
Setting Process count limit for current user
Jar Operations
Extracting from jar
Compress as Jar
Compressing file with manifes file as jar
File Operations
Copy files and directories between two locations with SCP
Extract tar.gz and compress as zip
List of open files
See File settings
Check the biggest 10 files that are opened
Checking the processes that holds the most files open
Firewall Operations
Wget Operations
Downloading from Google Drive with Wget
Sorting by File Size
Network Operations
Checking a user process or service of specific port
With the running port
|
Certificate Operations
Obtaining a server certificate through a Linux server.
Importing a certificate into a JAR file
Vi Editor Operations
To list all commands related to Vi and Vim, you typically enter command-line mode by pressing the escape key, and many commands begin with the colon (:) character.
To exit without saving changes
To exit and save changes
Change All
CURL Operations
#To access SSL-protected addresses without verification -k
#for verbose logging -v
#For timeout -m 10
#To send username and make it asks for password -u <USERNAME>
#To getting output --output response.txt
Logging the response after making a SOAP request
Accessing a WSDL address with Basic Auth (prompting for the password) and saving it
- Others
- To correct the system time if it is in the wrong timezone, use the "date" command
- To manually adjust the date in the correct timezone if it is still incorrect
- In case of encountering the "no-key" error on Ubuntu
- To fix the issue where the user is running dash instead of bash after SSH due to user configuration
- To view applications killed by the OOM Killer
- Disk Operations
- Memory Operations
- Processor Operations
- Jar Operations
- File Operations
- Firewall Operations
- Wget Operations
- Sorting by File Size
- Network Operations
- Certificate Operations
- Vi Editor Operations
- CURL Operations