Comments on: 51 Useful Lesser Known Commands for Linux Users https://www.tecmint.com/51-useful-lesser-known-commands-for-linux-users/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Tue, 08 Oct 2024 07:03:51 +0000 hourly 1 By: jacob https://www.tecmint.com/51-useful-lesser-known-commands-for-linux-users/comment-page-1/#comment-1218144 Mon, 05 Aug 2019 08:59:21 +0000 http://www.tecmint.com/?p=5184#comment-1218144 Hi Everyone,

If you had problem in “loop login” after execute “startx

use:

mv .Xauthority .Xauthority.bak
in tty1 (ctrl+alt+F1)

thanks tecmint <3 .)

]]>
By: Changdev Gadhe https://www.tecmint.com/51-useful-lesser-known-commands-for-linux-users/comment-page-1/#comment-1139374 Thu, 25 Apr 2019 04:59:18 +0000 http://www.tecmint.com/?p=5184#comment-1139374 Hello Ravi,

I have Linux server of 64 cores. 32 and 32 core each and connected. Whenever I submit a simulation job for 32 CPUs, so everything is fine. I track its process use. It shows in each line each CPU using 100~99%, and at the 3rd line %CPU=49.5. but when I submit more jobs (previous 32) + 24 CPUs, I guess it goes to the same node, and reduce the performance of the simulation.

I checked using top command. it shows in first 2-3 lines, %CPU=49.5, but there are now 54 CPUs are running with 100~99% utilization. So, my question is that what command should I type to know whether there are 2 nodes or different devices in my Linux server.

When I type the command iostat, it shows following output:

Linux3.10 (Redhatsrv) -x86_64 (64 CPU)

avg-cpu    %user     %nice   %system    %iowait     %idle
                 46.72       0.51     0.50           0.0             52.27
Device:     tps      kB_read/s   kB_wrtn/s    kB_read      kb_wrtn   
sda           4.69     1.41            79.83            969225      5493
sdb           1.23   68.00          160.22        46795308

If there are 2 device sda and sdb, then how can I submit job to sdb device, Give your expert opinion.

]]>
By: justahint https://www.tecmint.com/51-useful-lesser-known-commands-for-linux-users/comment-page-1/#comment-958492 Sun, 07 Jan 2018 16:14:44 +0000 http://www.tecmint.com/?p=5184#comment-958492 Python -m SimpleHTTPServer is deprecated and python2 specific

python is normally linked to python3, so you need.

# python -m http.server  
or
# python3 -m http.server
]]>
By: Martin Naranjo https://www.tecmint.com/51-useful-lesser-known-commands-for-linux-users/comment-page-1/#comment-913380 Thu, 14 Sep 2017 15:10:25 +0000 http://www.tecmint.com/?p=5184#comment-913380 In reply to Derek Jenkins.

Include this line:

export HISTCONTROL=ignorespace;

In /etc/profile or write it directly at the command prompt

If the variable HISTCONTROL includes value “ignorespace“, lines which begin with a space character are not saved in the history list.

]]>
By: Derek Jenkins https://www.tecmint.com/51-useful-lesser-known-commands-for-linux-users/comment-page-1/#comment-893814 Sun, 04 Jun 2017 22:35:31 +0000 http://www.tecmint.com/?p=5184#comment-893814 On your `nc -ZV` example, do you rather mean `nc -z` (or possibly `nc -zv`)?

And for Pv — are you referring to pv (aka pipe viewer) or literally Pv?

]]>