Linux has tail command. What about Windows? You can use Powershell to tail a file.
Get-Content myLog.log –Wait |
cloud engineer
Linux has tail command. What about Windows? You can use Powershell to tail a file.
Get-Content myLog.log –Wait |
Get-Content myLog.log –Wait
Here’s how to convert multiple files to UTF-8 format.
for file in *.csv; do iconv -f ascii -t utf-8 "$file" -o "${file%.txt}.utf8.csv" done |
for file in *.csv; do iconv -f ascii -t utf-8 "$file" -o "${file%.txt}.utf8.csv" done
You can import the Matrox Monarch HD configuration on boot up from a web page. Go to:
Command Center > Automatic Configuration. Type in URL Address starting with https. Check "Load settings on device reboot." You can either power off the device or hit reset. Holding reset for more than 5 seconds does a factory reset. On next bootup, device will have configuration contained from the remote file. |
Command Center > Automatic Configuration. Type in URL Address starting with https. Check "Load settings on device reboot." You can either power off the device or hit reset. Holding reset for more than 5 seconds does a factory reset. On next bootup, device will have configuration contained from the remote file.
How to load crontab from file.
crontab /path/to/file.txt |
crontab /path/to/file.txt
Save crontab to a file.
crontab -l > /path/to/file.txt |
crontab -l > /path/to/file.txt
Find the biggest files in the current directory. Sort by from large to small. Display only the top 20. Display in human readable format.
find -type f -exec du -Sh {} + | sort -rh | head -n 20 |
find -type f -exec du -Sh {} + | sort -rh | head -n 20