Linux, UNIX command line examples, tutorials, and sample documentation. Learn how to use programs like mysql, ssh, tar, rsync, dd by example

copy
0
0
rsa genNone

1 day, 12 hours ago princeofdream 0 |

copy
12
2
Log output and input of serial port using slsniffslsnif -u -s 115200 -l ./capture.log -i ./capture.bin "/dev/ttyUSB0"

1 year, 1 month ago JoshSanderson 5 |

copy
6
2
Create and link two virtual serial ports with socatsocat -d -d pty,raw,echo=0,link=/dev/ttyVCP-A pty,raw,echo=0,link=/dev/ttyVCP-B

1 year, 1 month ago JoshSanderson 5 |

copy
2
1
mv command without having to repeat entire pathmv /folder1/etc/etc/{file1.txt,file2.txt}

1 year, 1 month ago JoshSanderson 5 |

copy
1
0
anak dalitaNone

1 year, 4 months ago len 0 |

copy
8
0
xterm -bg red -fg blue topNone

1 year, 4 months ago mehdi gol 0 |

copy
4
0
xterm -bg red -fg white topNone

1 year, 4 months ago mehdi gol 0 |

copy
0
0
xterm -bg black -fg white topNone

1 year, 4 months ago mehdi gol 0 |

copy
0
0
tput resetNone

1 year, 4 months ago mehdi gol 0 |

copy
4
0
cal `date +"%m"` `date +"%Y"`None

1 year, 4 months ago mehdi gol 0 |

copy
15
copy
4
0
ssl_do_handshakei have problem on ssl_do_handshake working in intel machine but not in ARM based machine

1 year, 9 months ago pearl 0 |

copy
6
1
calculate and print size of binary logsdu -sm mysql-bin* | awk '{SUM +=$1} END {print SUM}'

1 year, 10 months ago ShahidMahmud 3 |

copy
0
0
byte count for queries which do NOT contain the 'UPDATE cache' linemysqlbinlog mysql-bin.000099 | grep -iv 'update cache' | wc -c

1 year, 10 months ago ShahidMahmud 3 |

copy
0
0
byte-count / size of update cache queries in binlogmysqlbinlog mysql-bin.000010 | grep -i 'update cache' | wc -cbyte-count for queries containing the words 'UPDATE cache'. Shows size of each binlog file dedicated to the 'UPDATE cache' queries.

1 year, 10 months ago ShahidMahmud 3 |

copy
0
1
queries have been logged to update the cache tables: mysqlbinlog mysql-bin.000099 | grep -ci 'update cache' find in mysql binary logs how many update queries were executed;

1 year, 10 months ago ShahidMahmud 3 |

copy
9
1
Data Base Size in MB from Information SchemaSELECT table_schema "Data Base Name", SUM( data_length + index_length) / 1024 / 1024 "Data Base Size in MB" FROM information_schema.TABLES GROUP BY table_schema;Get Data Base Size in MB from Information Schema in mysql

1 year, 10 months ago ShahidMahmud 3 |

copy
6
0
Save to a read only file in vi:w !sudo tee %when you forget to open the file as root

1 year, 10 months ago MikeJudge 4 |

copy
18
0
Find all files larger than 100M on the systemfind / -size +100M -lsSearches / to find all large files on the system and display info about them

1 year, 11 months ago george 4 |

copy
4
2
Check sum (success)echo 'test' > tmp && sha512sum tmp > sum && sha512sum --check sum

1 year, 11 months ago KevinSecretan 3 |

0
wpa_supplicant.conf wired contion ubuntu 14.04

DmitryShuvar 4 days, 11 hours ago

0
Cats

brittanyjacobus 1 year, 9 months ago

-1
htrhNone

gwrgegeg 2 years, 4 months ago

1
WPA-EAP config that uses peaplabelWPA-RADIUS/EAP-PEAP/MSCHAPv2 with RADIUS servers that use old peaplabel (e.g., Funk Odyssey and SBR, Meetinghouse Aegis, Interlink RAD-Series)

gitweb 2 years, 5 months ago

0
WPA PSK with WPA-Enterprise basic configWPA-Personal (PSK) as home network and WPA-Enterprise with EAP-TLS as work network.

gitweb 2 years, 5 months ago

0
DDWRT Ifconfig
Hello I've run an ifconfig settings but everytime I reboot the unit the command applied is reset. how can I write the settings done into the non volatile memory of the device? thanks you

8 months, 3 weeks ago dpignataro 0

0
2 log b=log(1+ac)

pls
2 years, 4 months ago nilaxmi 0

0
How can i use mcopy command to replace untranslatable charachet in a file with '?'
Can someone give me example of mcopy -T command in unix. And is it possible to replace the untranslatable character to some other character explicitly.

-T
2 years, 4 months ago chicharito 0

0
How can i use mcopy command to replace untranslatable charachet in a file with '?'
Can someone give me example of mcopy -T command in unix. And is it possible to replace the untranslatable character to some other character explicitly.

-T
2 years, 4 months ago chicharito 0

5
How do i generate ssh keys
What is the easiest way to generate ssh keys?

ssh
2 years, 6 months ago spids82 0