FreeBSD or Linux from Windows

But i managed to get my xfce dektop to autoresize, so i am happy. I plan on installing FreeBSD on the system but for now i am learning in VirtualBox and having a full screen desktop makes it nicer to work with. I know about the setextradata but i wanted to find a way to do it within FreeBSD. I have accomplished this task.
Glad to hear. I hope exploration all goes smoothly from here on :)
 
Hi jardows, i'm with you on twm. I like it. twm is lightweight and fast. I cannot see a reason to change it. If i want something more robust and graphical, then i can startxfce4 and look at all of the eye candy. But it is nice to come back to the simplicity of twm. In my opinion. I don't even need some nagging clock since we can always hit the terminal with a date or cal command. twm is simple and sweet. I like your setup (the screen capture that you link to in the post). Very nice :)

I am wondering if unveil is planned for future versions of FreeBSD? i was reading about placing browsers in jail and i saw a search result mentioning unveil and OpenBSD. I like the idea and i hope that it ends up in the beast (FreeBSD).

Also, i have successfully attached a usb stick via automount from a VirtualBox passthrough. Usually, i can write files from guests systems but the files are not being written using FreeBSD. Is there something permissions related?
 
I am wondering if unveil is planned for future versions of FreeBSD? i was reading about placing browsers in jail and i saw a search result mentioning unveil and OpenBSD. I like the idea and i hope that it ends up in the beast (FreeBSD).

Also, i have successfully attached a usb stick via automount from a VirtualBox passthrough. Usually, i can write files from guests systems but the files are not being written using FreeBSD. Is there something permissions related?
For 'unveil' - you can check the 'Releases' page here, there's some info about future plans. From there, you can click around to get an idea for target release dates and where to get the releases (actually same place where you got your first FreeBSD installer iso to begin with).

Well, I'd suggest not jumping to conclusions over terms that you see in a search. Terminology can be context-sensitive. For example, even on these Forums, there's debate over what the term 'supported' even means. As for your search results: 'unveil' very well could be a fancy name for a cryptography-related package that decodes some kind of hash. Or it could mean a browser plugin that bypasses a paywall. This is just me thinking out loud here. That's because the BSD projects don't run a huge advertising campaign when they release the next version of their OS. One kind of has to know where to check for information, what to look for, and when to check. Most tech news sites that distribute that kind of info (along with their own commentary), they have someone who knows where to look, what to look for, and when to check. With this being Open Source, it's not out of question to discover a showstopper bug. A few years ago, FreeBSD had 7 RC releases before they dropped the RC tag (Normally there's just 3 RC releases in a typical release cycle for FreeBSD)!

For your USB sticks, I think you'll need this: filesystems/ntfs. Do read the pkg-message that you get after a successful installation (or find the same message on the freshports page that I linked to).
 
unveil man page:

the filesystem can be restricted, for example Firefox and Chrome, then one can use unveil to permit reading of certain directories (Downloads). That is awesome!

Thanks for the tip regarding usb sticks. I'll work on this later today...
 
the filesystem can be restricted, for example Firefox and Chrome, then one can use unveil to permit reading of certain directories (Downloads). That is awesome!
Thanks for explaining! I actually had no idea such a syscall even exists. But reading the manpage, I agree, this would be a very interesting thing for FreeBSD, and yeah, it does make sense for this info to pop up in a search about jails. 👍

Just a heads up: If you play with it for a long enough time, you'll probably end up getting a sense of whether this behaves according to the manual page or not... A couple years ago, I tried playing with limits(1), and it was not working as documented.
 
I have been reading about C language and i have decided to write my first C program today. I was happy to know that cc is included with FreeBSD, so i cracked my knuckles and got to work. I wanted to print the standard Hello World text and add some spice by running the
Code:
ls -a
command to list all files in my tilde working directory. I'll attach a jpeg of the successful execution and compilation of lsa.c Yay! I made my first C program. I'm just a php coder but alot of C/Cpp resembles php, so i want to try to learn how to program C and perhaps i will be able to make some programs for the beast!
 

Attachments

  • clsa.jpg
    clsa.jpg
    49.4 KB · Views: 16
So I figured I'd look into this again, also to see what happened and made it go on... well...

cmd LOL. VBScript will get you further than command line unless u running batch scripts. I once made a script to release and renew my ip to stay online while a hotel admin kept trying to kick me off the router. LOL. I used it in conjunction with a spoofed mac address. But VBScripts are pretty powerful in the Windows World. Even basic scipts like the following are quite useful at times:

Code:
Dim objShell
Set objShell=CreateObject("Shell.Application")
objShell.ControlPanelItem("desk.cpl")

objShell.ShutdownWindows
objShell.ShellExecute "notepad.exe", "", "", "open", 1

Set wshShell=CreateObject("Wscript.Shell")
return = wshShell.Run("C:\Users\john\AppData\Local")
That actually made me laugh, thanks for that.

I'm a vivid Microsoft 365 user and a vivid user & supporter of VBA (even use VB.NET at times though I prefer C#.NET by far). And within that context: the above snippet made me laugh out loud because it makes absolutely no sense at all.

Kinda sad to see people getting stringed along with nonsense like this but that's life for you :)
 
Hi ShelLuser,

yes, it is quite funny. A simple VBScript can edit the registry, delete all of the icons on the desktop, configure a wireless connection or even activate your windows (remember the days of slick and oem files). Microsoft LOL

So you actually use VisualStudio. LOL

Have a great day,
John
 
Almost all of which can also be done with the CLI, either with powershell or cmd.

In Windows, vbscript was often used as a workaround for some of the severe limitations of the Windows CLI, not because it was "better" or clever. I've often researched windows problems which were easily overcome in FreeBSD, or Linux, with a tiny, much more elegant, shellscript and / or a single command - the Windows approach was often a massive, convoluted vbscript or even more complex batch files which utilused a lot of nasty hacks and workarounds.

With UNIX you write a shellscript out of necessity and you call existing command line utilities as required - what you generally don't do is reinvent the wheel.
 
Back
Top