![]() |
ls /dev - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Development (https://www.linuxliteos.com/forums/forumdisplay.php?fid=7) +--- Forum: Scripting and Bash (https://www.linuxliteos.com/forums/forumdisplay.php?fid=32) +--- Thread: ls /dev (/showthread.php?tid=5611) Pages:
1
2
|
Re: ls /dev - Moltke - 09-23-2018 That GUI looks really good! Nice job [member=411]bitsnpcs[/member] ![]() Quote:No not trying to create anything at the moment, I am working through the book, "The Linux Command Line", unsure how many years ago I began it...You can get The Linux Command line as pdf free from the official site http://linuxcommand.org/tlcl.phpI see. I too started reading that book a while ago and for some reason stopped doing it, guess I got stuck at that moment. Thanks for the link by the way. Quote:I use LL, and Gedit for Python codingI used to use gedit too, then tried geany, they both are fine but then I discovered sublime text and find it really nice; lightwight, handy features, easy to use. In the past I've used kate even in windows 7, which is a great editor but now I try to avoid having those kde dependencies and who knows, sometimes I fell like installing it : ![]() If you fell like trying sublime text, here are the steps for installing it: First, open a terminal and type Code: $ wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - Code: $ echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list Code: $ sudo apt-get update Code: $ sudo apt-get install sublime-text Or, you can simply read more about it on its website http://www.sublimetext.com/ Cheers! ![]() Re: ls /dev - trinidad - 09-23-2018 [member=7109]Moltke[/member] wrote: "text editor I use the most is nano, yeah nano all the way" I agree. Use Nano a lot myself for BASH stuff, and whatever other editor is available depending on the OS when it's necessary to be out of the CLI, and I use only Gvim for other code bases like ruby and js. I don't know if it's an attempt at a teaching method, but in a lot of tutorials I see text editors recommended for basically no particularly important reason when nano would be the easiest. Small changes might as well use a small editor. TC Re: ls /dev - bitsnpcs - 09-23-2018 Thank You [member=7109]Moltke[/member] ![]() Earlier I made some Gimp edits to try and better show how the thought image and book commands arrived in 1 thought. It took me a lot longer to try and do this. Maybe it helps someone if it is interesting, it is not a project, or meant to be accurate, it is just showing the process of my thought as images when learning. The image/thought was based on Systemback as this is the only backup software my eyes had seen. ![]() ![]() ![]() ![]() The image didn't have the highlight, I just use it to show the description below of commands from book and the ideas of how I thought they might be able to be used from a beginner perspective, but likely wrong lol. 1 - ls -t /directory/of/images display image filenames of backups made of HOME at #3, and list by date order. 2 - ls /dev/sd* output destination box, drop down menu for selection of sd* locations 3 - ?? needs command to create an image file from collection of HOME directory contents 4 - dd if=/dev/sdb of=flash_drive.img need to change command to make image of entire OS not of the example flash_drive 5 - ?? run install media from #4 6 - dd if=input_file of=output_file [bs=block_size [count=blocks]] where input file is output of/ or stored image of #4 7 - sudo fsck /location/of/file system file system check and repair 8 - sudo apt-get update sudo apt-get upgrade 9 - add embedded text window, mirroring the terminal output inside the GUI from #6 so any errors are visible. [member=7109]Moltke[/member] maybe now you can see why I said it was just thoughts based on the commands as I don't know enough to do this, many others would know though. After the image thought, in popped its description thought - "Bubl is a blend of LL, Cli, Python and Tk, cooked at 420F and seasoned with Love ![]() Re: ls /dev - Moltke - 09-23-2018 (09-23-2018, 03:31 PM)trinidad link Wrote: [member=7109]Moltke[/member] wrote: "text editor I use the most is nano, yeah nano all the way" [member=5916]trinidad[/member] Yeah, nano's the one I always use the most. I very often find myself typing Code: $ nano somefile [member=411]bitsnpcs[/member] I can only say: WOW! Nicely done girl! Like I said in a previous post I'm just learning how to create GUIs with python ;D using those two programs I told you about. Re: ls /dev - Valtam - 09-23-2018 nano ftw ![]() Sent from my Mobile phone using Tapatalk Re: ls /dev - Moltke - 09-23-2018 (09-23-2018, 06:53 PM)Jerry link Wrote: nano ftw What does ftw stand for [member=2]Jerry[/member] ? I googled for it and found some curious and fun meanings: forget the world, for the worms, full throttle workshop, forever together whenever (this one I kind of like it ![]() Re: ls /dev - bitsnpcs - 09-23-2018 "fsck the world" Re: ls /dev - firenice03 - 09-24-2018 My 2 cents... "For the Win" 8) 8) 8) 8) Re: ls /dev - Moltke - 09-24-2018 (09-23-2018, 09:29 PM)bitsnpcs link Wrote: "fsck the world" I think that may be it. (09-24-2018, 12:50 AM)firenice03 link Wrote: My 2 cents... I thought of this one too ;D |