LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Is there a Markdown text mode viewer? (https://www.linuxquestions.org/questions/linux-software-2/is-there-a-markdown-text-mode-viewer-4175588731/)

ondoho 09-08-2016 10:27 AM

Quote:

Originally Posted by dedec0 (Post 5602368)
Why do you spend your time answering if you only believe that I am trolling or that I just write the questions without looking around first? Please stop doing those unuseful posts, cancel your subscription for this thread: http://www.linuxquestions.org/questi...ewsubscription. Let other users answer the questions I make.

Is /dev/shm cleared at every boot, like /tmp is? /tmp files are deleted automatically when my system reboots, and I do not know if /dev/shm would too.

why do you spend your time being hurt and telling me what to do (i will bloody well do as i please, thank you very much), instead of following my suggestions (it was you who asked after all)?

just try it, type "mount" in a terminal, press enter, and see what you see for /dev/shm and /tmp.

enough spoonfeeding.

dedec0 09-08-2016 11:01 AM

I did the mount command, found shm there... but what? Here:

Code:

$ mount
/dev/sdb5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
/dev/sdb1 on /media/A type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
/dev/sda2 on /media/B type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sdc1 on /media/C type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
12:53:24 [  0] me@here: ~
$

/tmp is not there (not alone) ...

Quote:

Tmpfs
tmpfs is a common name for a temporary file storage facility on many Unix-like operating systems. It is intended to appear as a mounted file system, but stored in volatile memory instead of a persistent storage device. A similar construction is a RAM disk, which appears as a virtual disk drive and hosts a disk file system. More at Wikipedia
Is this what I should have guessed before? It is a word. You are too different from what I have found many many times in these fora. I am glad that there are many users different from you in these aspects. Bye

dugan 09-08-2016 11:24 AM

pandoc can convert from markdown to txt and send the output to the console, can't it?

dugan 04-09-2018 12:00 PM

There is now:

https://github.com/joeyespo/grip

ondoho 04-11-2018 11:51 AM

^ that is a lot of code to view something that is designed to be human-readable anyhow.


All times are GMT -5. The time now is 05:35 AM.