Các bài tập cơ bản trên linux ubuntu

Phân tích 1 số thành các thừa số nguyên tố n=$1 m=$n i=2 j=0 while [ $n -ne 1 ] do d=$((n%i)) if [ $d -eq 0 ] then # echo -n “$i x ” kq[$j]=$i n=$((n/i)) j=$((j+1)) else i=$((i+1)) fi done #echo $((${#kq[@]}-1)) #echo ${#kq[@]} echo -n “$m = ” #for k in ${kq[@]}…

Rate this:

Hướng dẫn cài QT-Creator trên Ubuntu

Installation Guide (Hướng dẫn cài đặt) Download Visit Qt downloads page an download a 32-bit or 64-bit Linux installation depending your version of Ubuntu. The installation file can be also downloaded through the command line using wget. (thông qua link trên hoặc lệnh wqet ở dưới) Example: wget http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run Install (cài QT creator) Adjust permission,…

Rate this:

20 câu lệnh để nghịch vui trên Linux

1. Command: sl (Steam Locomotive) You might be aware of command ‘ls‘ the list command and use it frequently to view the contents of a folder but because of miss-typing sometimes you would result in ‘sl‘, how about getting a little fun in terminal and not “command not found“. Install sl root@tecmint:~# apt-get install sl…

Rate this: