What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-28 03:34:02
how to trim log file linux
truncate -s 0 logfile Where -s is used to set or adjust the file size by SIZE bytes. The file can be relative to the current directory or an absolute path to the file provided. For complete truncate command options, use the option --help Add solution -
Shell/Bash 2021-08-27 17:35:02
wget download list of urls
# Basic syntax: wget -i list_of_links.txt # Example usage: # If you had a list_of_links.txt file containing a list of links like: www.example.com/1.pdf www.example.com/2.pdf www.example.com/3.pdf wget -i list_of_links.txt # Running this would download a... Add solution -
Other 2021-08-27 13:53:02
Validating databases (splunkd validatedb) failed with code '1'. If you cannot resolve the issue(s) above after consulting documentation, please file a case online at http://www.splunk.com/page/submit_issue
in your instance of splunk locate the splunk-launch.conf (for the enterprise version the file can be found at /splunk/etc/splunk-launch.conf) and add the following into the file $SPLUNK_HOME/etc/splunk-launch.conf: OPTIMISTIC_ABOUT_FILE_LOCKING = 1 Add solution -
Shell/Bash 2021-08-26 13:15:01
bash how to download files from a list of links
# Basic syntax: wget -i list_of_links.txt # Example usage: # If you had a list_of_links.txt file containing a list of links like: www.example.com/1.pdf www.example.com/2.pdf www.example.com/3.pdf wget -i list_of_links.txt # Running this would download a... Add solution -
Other 2021-08-26 11:06:04
byte code
When a javac compiler compiler compiles a class it generates .class file. This .class file contains set of instructions called byte code. Byte code is a machine independent language and contains set of instructions which are to be executed only by JVM. ... Add solution -
Shell/Bash 2021-08-26 10:44:02
how to remove windows service
SC STOP shortservicename SC DELETE shortservicename Note: You need to run the command prompt as an administrator, not just logged in as the administrator, but also with administrative rights. If you get errors above about not having the necessary access ... Add solution
Best helpers
Daniel Cook
+5
Czlsws
+5
Mick Daw
+5
Shahruz Raad
+5
Horse
+5
Csandreas1
+5
SOUMEN
+5
Vy32
+5
Anugram
+5
ImMathan
+5
Joyo
+5
Huggy Buggy
+5