To: Thomas A Watson who wrote (448) | 2/19/2017 1:26:24 PM | From: FJB | | | Free Book until 6pm central time.
Mastering Linux Shell Scripting
- Master the complexities of Bash shell scripting and unlock the power of shell for your enterprise
- Identify the high level steps such as verifying user input, using command lines and conditional statements in creating and executing simple shell scripts
- Create and edit dynamic shell scripts to manage complex and repetitive tasks
- Learn about scripting in Perl and programming in Python as a BASH scripting alternative with this practical, step-by-step guide
packtpub.com |
| Linux OS.: Technical questions | Pastime Discussion ForumsShare | RecommendKeepReplyMark as Last Read |
|
To: Thomas A Watson who wrote (448) | 4/29/2017 12:15:48 PM | From: FJB | | | CoreFreq is a CPU monitoring software designed for 64-bits Processors w/ architectures Intel Atom, Core2, Nehalem, SandyBridge and superior, AMD Family 0F
https://github.com/cyring/CoreFreq
 |
| Linux OS.: Technical questions | Pastime Discussion ForumsShare | RecommendKeepReplyMark as Last ReadRead Replies (1) |
|
To: Thomas A Watson who wrote (448) | 5/12/2017 3:13:31 PM | From: FJB | | | Free ebook for the next four hours. packtpub.com
Practical Linux Security Cookbook As more and more organizations adopt Linux for their networks and servers, the number of security threats grows and grows. As a sysadmin, you'll be the first point of call when hackers threaten your network - and this free eBook will be your bible for building and maintaining a secure Linux system. |
| Linux OS.: Technical questions | Pastime Discussion ForumsShare | RecommendKeepReplyMark as Last Read |
|
From: Thomas A Watson | 11/10/2018 11:58:42 AM | | | | where is the mouse on your screen? In a terminal run mousepos using xdotool
need xdotool installed
sudo apt-get install xdotool
or
watson@xen2[109]xterm -geometry 50x12 -e mousepos
watson@xen2[105]which mousepos /usr/local/bin/mousepos
watson@xen2[106] watson@xen2[106]cat `which mousepos` #!/bin/csh # /usr/local/bin/mousepos set c=0 set last=99
while ( 1 )
xdotool getmouselocation --shell >ztmp sleep .5s
# cat ztmp set x=`cat ztmp|head -1` set y=`cat ztmp|head -2|tail -1` set screen=`cat ztmp|tail -2|head -1` set window=`cat ztmp|tail -1`
echo $x $y" "$c" " $screen $window echo ""
if ( $c < $last ) then @ c++ else set c=0 endif end |
| Linux OS.: Technical questions | Pastime Discussion ForumsShare | RecommendKeepReplyMark as Last Read |
|
From: Thomas A Watson | 11/17/2018 12:16:16 PM | | | | ubuntu remote desk top. How To Configure Remote Access To Your Ubuntu Desktop howtoforge.com
On a local network you can display your linux desktop on a windows machine. you can also control it or run it. I followed the link above instuctions and on Win7 manchine display ubuntu 16.04 unity desktop and could control it in paralell with the the unbuntu machine.
I could not on my linux 14.04 xen2 manchine display unity desktop of xen1 machine. xen2 is fvwm window manager, not unity.
I tried starting nautilus that seems to gnomify my fvwm weirdly. same result.
in linus use remmina.
error in terminal.
]Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. loading channel cliprdr unable to connect to 192.168.1.118:3389 Error: protocol security negotiation or connection failure Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
nautilus starts with error watson@xen2[229]nautilus
(nautilus:15767): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files |
| Linux OS.: Technical questions | Pastime Discussion ForumsShare | RecommendKeepReplyMark as Last Read |
|
From: Thomas A Watson | 11/30/2018 7:36:22 AM | | | | Switching from multidisplay to a single display and changing video cards to support new resolution of monitor.
Basic OS of computer. watson@xen2[22]uname -a Linux xen2 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linu
This computer was running using a GALAXY MDT Nvidia Geforce GT610 1Gb PCIe card. The card drove 4 Samsung 1204b monitors of 1600x1200.
I believe I used unity desktop to originally set up the Displays to create a 3200x2400 desktop. But for working I used fvwm2.
The machine always boots to text mode. Then I start fvwm2 with xinit /usr/bin/fvwm2 or I could start unity with xinit /usr/bin/unity.
The new monitor is an Acer ET0 Series ET430K IPS 43" LED Monitor IPS 4K UHD HDMI w/ Speaker.
The GT610 does not support 4k 3840 x 2160 resolution. So I choose a Geforce GT 1030 It has a far superior GPU over the GT610, but it is not a cutting edge gaming care. In that I never game, that did not matter to me.
After installing the new vid card and connecting up the monitor linux booted no prob to text mode. I logged in and xinit /usr/bin/fvwm2 worked ok but the screen res was 12??x10??
I googled all manner of questions about linux ubuntu 16.04 and all I found was gui this and gui that in unity. Well xinit /usr/bin/unity would not come up. There were posts attempting to explain how to set up Xorg config but none really explained anything.
So finally I went to nvidia.com nvidia.com then Drivers Geforce Did a manual search. I figured out that a 1030 card was a series 10 card in nvidiaeze. So I menued Geforce, Geforce 10 series, Geforce GT 1030, linux 64-bit, English (US), Recommended Certified
Search... Linux x64 (AMD64/EM64T) Display Driver Version | 410.78 | Release Date | Thu Nov 15, 2018 | Operating System | Linux 64-bit | Language | English (US) | File Size | 102.94 MB | Download /XFree86/Linux-x86_64/410.78/NVIDIA-Linux-x86_64-410.78.run
*This download includes the NVIDIA display driver and GeForce Experience application. Details for use of this NVIDIA software can be found in the NVIDIA End User License Agreement.
Downloaded NVIDIA-Linux-x86_64-410.78.run
watson@xen2[25]file NVIDIA-Linux-x86_64-410.78.run NVIDIA-Linux-x86_64-410.78.run: POSIX shell script executable (binary data)
This is Nvidia propriatary and not open source. To me that means it will use all of the power of the card.
Open source is nice but in video drivers, I prefer the companies stuff. It often solves many problems.
So I chmod 777 NVIDIA-Linux-x86_64-410.78.run and ran it. Oh I always create user root and login as root to manage my linux systems. I do not sudo.
The program ran no brain, asked obvious questions and permissions and agree terms. It reported it had created a new xorg config.
Then as me, not root xinit /usr/bin/fvwm2 and all is right with the world.
So I did not have to relearn all about mode lines and xconfig and edit some files some where to get it to work. How many times have I done that in the past? who knows..
I assume unity will work now also, but have not tested it yet. |
| Linux OS.: Technical questions | Pastime Discussion ForumsShare | RecommendKeepReplyMark as Last Read |
|
From: Thomas A Watson | 12/16/2018 7:45:00 PM | | | |
I came across another sysinfor tool for linux. It is like a belarc but more in a sense. it is called hardinfo. I did sudo apt-get install hardinfo. I am running on ubuntu 16.04 and I bring it up from a terminal in my fvwm2 window manager. Also it work in unity. I expect it is compatible with most linux window managers.
It has numerous sub sections and will also create a web page of all results.
ikiw.homeip.net /xen2/hardinfo_report.html shows a full report. edited to sanitize. passwords etc.
It even cantains some bench marks.
BenchmarksCPU Blowfish | CPU Blowfish | This Machine | 3680 MHz | 2.819 | Intel(R) Celeron(R) M processor 1.50GHz | (null) | 26.1876862 | PowerPC 740/750 (280.00MHz) | (null) | 172.816713 |
CPU CryptoHash | CPU CryptoHash | This Machine | 3680 MHz | 546.596 |
CPU Fibonacci | CPU Fibonacci | This Machine | 3680 MHz | 1.268 | Intel(R) Celeron(R) M processor 1.50GHz | (null) | 8.1375674 | PowerPC 740/750 (280.00MHz) | (null) | 58.07682 |
CPU N-Queens | CPU N-Queens | This Machine | 3680 MHz | 4.724 |
FPU FFT | FPU FFT | This Machine | 3680 MHz | 0.747 |
FPU Raytracing | FPU Raytracing | This Machine | 3680 MHz | 3.481 | Intel(R) Celeron(R) M processor 1.50GHz | (null) | 40.8816714 | PowerPC 740/750 (280.00MHz) | (null) | 161.312647 |
|
| |
|
| Linux OS.: Technical questions | Pastime Discussion ForumsShare | RecommendKeepReplyMark as Last Read |
|
| |