Skip to content

SysTutorials

  • Tutorials
  • Linux
  • Linux Manuals
  • Systems
  • Programming
  • Software
  • Subscribe
  • Search
SysTutorials

  • QA

    How to find top K largest files in a directory on Linux?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    I have many files in a directory on Linux. How to find top K largest files in a directory? For example, find top 10 (K=10) large files in the current directory: du -h –max-depth 1 * | sort -rh | head -n 10

    Read More How to find top K largest files in a directory on Linux?Continue

  • QA

    How to find files in a directory that are larger than certain size?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    I have many files under a directory. How to find those files under the directory that are larger than certain size, say 500MB? Find the files that are larger than 500MB in the current directory (./): find ./ -size +500M Prints our more information about these files: find ./ -size +500M -exec ls -lh {}…

    Read More How to find files in a directory that are larger than certain size?Continue

  • QA

    How to find broken soft links in a directory?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to find broken symbolic links in a directory which have many symbolic links? Use this command to find broken soft links: find -xtype l /path/to/dir/to/find/in/ You can also specify the action by -exec. For example, delete the soft links that are broken in the current directory: find -xtype l -exec rm -f {} ;…

    Read More How to find broken soft links in a directory?Continue

  • QA

    How to change the fonts of gnome-shell for gnome3?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to change the fonts of gnome-shell for gnome3? Like the system bar. The fonts of gnome-shell is described in its own theme. For the default gnome-shell, you need to edit the file as root: /usr/share/gnome-shell/theme/gnome-shell.css Right, it is a css file. Find the font-family keyword and change the corresponding fonts. Then you can restart…

    Read More How to change the fonts of gnome-shell for gnome3?Continue

  • QA

    How to change the fonts used in Gnome 3?

    ByEric Ma Mar 24, 2018Oct 7, 2019

    How to change the fonts used in Gnome 3? The default configuration tool of gnome does not provide an option to change the fonts. However, the gnome-tweak-tool provides it. If you have not installed it, you need to install it first. On Fedora, run # yum install gnome-tweak-tool. Then you can run gnome-tweak-tool and set…

    Read More How to change the fonts used in Gnome 3?Continue

  • QA

    Domain registration coupons

    ByEric Ma Mar 24, 2018Mar 24, 2018

    This page lists some domain registration coupons that users can use. The best that I can find currently the the $2.95 .com domain from godaddy: If you want to buy hosting from Godaddy at the same time, you can check this one which provides a free domain:

    Read More Domain registration couponsContinue

  • QA

    How to change my Linux password

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to change my password on a Linux box? The original password is generated by the administrator for me. User the passwd command. The easiest way: Log in the Linux box with your account Run passwd and it will ask your old and new passwords.

    Read More How to change my Linux passwordContinue

  • QA

    Random string password generator in Scala

    ByEric Ma Mar 24, 2018Mar 24, 2018

    Managing our research cluster, I frequently need to generate some string for new users’ password. How to generate them automatically and randomly in Scala? The passwords need characters ‘a’ – ‘z’, ‘A’ – ‘Z’ and ‘0’ – ‘9’ only. This piece of code works very well for me: def randomString(len: Int): String = { val…

    Read More Random string password generator in ScalaContinue

  • QA

    How to write paper reviews?

    ByWeiwei Jia Mar 24, 2018Jan 7, 2020

    Sometimes, we need to write paper reviews after read many papers which belong to a specific area (like information retrieval). I have found some useful links which are as follows. http://www.uwlax.edu/biology/communication/ReviewPapers.htmlhttps://users.ece.utexas.edu/~miryung/teaching/EE382V-Fall2009/review.html

    Read More How to write paper reviews?Continue

  • QA

    Syntactical difference among OCaml, Scala, F# and Haskell

    ByEric Ma Mar 24, 2018Mar 24, 2018

    What’s the syntactical difference among OCaml, Scala, F# and Haskell. This page gives a side-by-side reference among OCaml, F#, Scala and Haskell: ML Dialects and Friends: OCaml, F#, Scala, Haskell

    Read More Syntactical difference among OCaml, Scala, F# and HaskellContinue

  • QA

    Other Mobile Messengers Like WhatsApp

    ByEric Ma Mar 24, 2018Mar 24, 2018

    What other mobile messengers like WhatsApp in the market? Messneger Apps focusing on mobile phones WhatsApp: http://www.whatsapp.com/ WeChat: http://www.wechat.com/en/ Kik: http://kik.com/ Kakao Talk: http://www.kakao.com/talk/en LINE: http://line.me/en/ Other “general” messengers that also have mobile clients Google Hangouts: http://www.google.com/ /learnmore/hangouts/ Facebook Messenger: https://www.facebook.com/mobile/messenger Skype: http://www.skype.com/en/download-skype/skype-for-mobile/

    Read More Other Mobile Messengers Like WhatsAppContinue

  • QA

    How to convert A4 paper format to read on Kindle 5

    ByEric Ma Mar 24, 2018Mar 24, 2018

    Kindle is good for reading. However, the A4-size technical/academic paper is pain to read on Kindle 5—the fonts are too small. The “email to Kindl” converting tool provided by Amazon usually loses the formats in the technical paper. How to convert A4 paper format to read on Kindle 5? I use k2pdfopt tool (hey, source…

    Read More How to convert A4 paper format to read on Kindle 5Continue

  • QA

    How to allow contributors to Upload Files in wordpress

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to allow contributors to Upload Files in wordpress? I allow my wordpress site’s contributors to submit posts. But by default, WordPress contributors do not have the capability to upload files. How to allow them to upload files? The key to my solution to add the upload files capability to contributors in WordPress is the…

    Read More How to allow contributors to Upload Files in wordpressContinue

  • QA

    Should I buy a Kindle paperwhite or regular Kindle?

    ByWeiwei Jia Mar 24, 2018Jan 7, 2020

    Should I buy a Kindle paperwhite or regular Kindle? Actually, you can click the following link to get the answers :-)http://www.reddit.com/r/kindle/comments/16in81/should_i_get_a_paperwhite_or_regular_kindle/

    Read More Should I buy a Kindle paperwhite or regular Kindle?Continue

  • QA

    Rsync with non-standard ssh ports

    ByEric Ma Mar 24, 2018Mar 24, 2018

    This problem appears when I try to rsync directories with hosts inside a cluster used NAT for forwarding ports to internal nodes. Hence, the ssh port for internal nodes are not the default 22. So, how to use rsync with the non-standard ssh ports? The -e options of rsync play the trick very well. For…

    Read More Rsync with non-standard ssh portsContinue

  • QA

    How to convert a .docx .doc MS Word file to pdf in command line on Linux

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to convert a MS Word document file such as .docx and .doc to pdf on Linux using command line tools? Use LibreOffice: libreoffice –headless –convert-to pdf –outdir /path/to/out/dir/ /path/to/doc/docx/file While this LibreOffice answer works, the –headless option still needs as display, even though it does not use it. In otherwords, this option won’t work…

    Read More How to convert a .docx .doc MS Word file to pdf in command line on LinuxContinue

  • QA

    How to make eps files using gnuplot

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to make gnuplot generate eps files instead of plot the figures on screen? First, save a Gnuplot plot as a PostScript file by this commands: # gnuplot> load ‘saveplot’ # gnuplot> !mv my-plot.ps another-file.ps The saveplot file’s content: set size 1.0, 0.6 set terminal postscript portrait enhanced mono dashed lw 1 “Helvetica” 14 set…

    Read More How to make eps files using gnuplotContinue

  • QA

    How to revert only one file back to a revision or commit

    ByEric Ma Mar 24, 2018Mar 24, 2018

    I messed up with one file in one repository and want to check out only that file back to a commit. How to achieve this? To check the file with my_file.name at git commit commit_sha1: $ git checkout commit_sha1 my_file.name You can also use the relative commit instead of commit_sha1 such as master~4, HEAD~4, HEAD^,…

    Read More How to revert only one file back to a revision or commitContinue

  • QA

    How to install Python environment in my own account on Dreamhost?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to install Python environment in my own account on Dreamhost so that my application can use the python that I installed by myself instead of the system-wide one? The post for Bluehost works very well for Dreamhost too: https://my.bluehost.com/cgi/help/python-install In short: mkdir ~/python cd ~/python wget http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tgz tar zxfv Python-2.7.2.tgz find ~/python -type d…

    Read More How to install Python environment in my own account on Dreamhost?Continue

  • QA

    How to change the window title font family and size in Gnome 3?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    It was ever possible to set it in gnome-teak-tool. However, in the latest Gnome 3, it disappears. Is there any other way to set it? The configuration is the org.gnome.desktop.wm.preferences titlebar-font under dconf. You can use dconf-editor to find the appropriate key entry and set it. Or use gsettings: $ gsettings set org.gnome.desktop.wm.preferences titlebar-font ‘Sans…

    Read More How to change the window title font family and size in Gnome 3?Continue

Page navigation

Previous PagePrevious 1 … 39 40 41 42 43 … 70 Next PageNext

© 2026 SysTutorials

  • Tutorials
  • Linux
  • Linux Manuals
  • Systems
  • Programming
  • Software
  • Subscribe
  • Search