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

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

4 months ago pearl 0 |

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

5 months, 1 week 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

5 months, 1 week 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.

5 months, 1 week 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;

5 months, 1 week ago ShahidMahmud 3 |

copy
0
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

5 months, 1 week ago ShahidMahmud 3 |

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

5 months, 3 weeks ago MikeJudge 4 |

copy
9
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

6 months, 2 weeks ago george 3 |

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

6 months, 2 weeks ago KevinSecretan 3 |

copy
0
1
Compute sumecho 'test' > tmp && sha512sum tmp

6 months, 2 weeks ago KevinSecretan 3 |

copy
9
1
to generate a key type ssh-keygenssh-keygenjust type ssh-keygen, u can also use "-t rsa" etc...

7 months, 1 week ago george 3 |

copy
8
1
delete a branch from gitgit branch -D mybranchDelete a branch

7 months, 3 weeks ago MikeJudge 4 |

copy
1
-4
tehlukesizlikNone

7 months, 4 weeks ago orxan 0 |

copy
4
-4
malysiaNone

9 months, 2 weeks ago 3b5ca6669505417099bfe7e2a996f8 0 |

copy
4
-3
Девој4ињаNone

10 months, 3 weeks ago simona.cingo 0 |

copy
3
-2
rdesktop 10.2.0.88None

11 months, 1 week ago suwt 0 |

copy
16
1
Show the ssl certsopenssl s_client -showcerts -connect 127.0.0.1:443Show the ssl certs for 127.0.0.1

1 year ago MikeJudge 4 |

copy
3
2
Show debug ssl info on local serveropenssl s_client -msg -debug -connect 127.0.0.1:443dump debug ssl info

1 year ago MikeJudge 4 |

copy
10
1
Find and replace strings in OSXsed -i "" 's/find/replace/g' views.py

1 year ago george 3 |

0
-1
htrhNone

gwrgegeg 11 months, 2 weeks 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 1 year ago

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

gitweb 1 year ago

0
0
2 log b=log(1+ac)

pls
11 months, 1 week 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
11 months, 3 weeks 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
11 months, 3 weeks ago chicharito 0

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

ssh
1 year, 1 month ago spids82 0