
What is the equivalent to the Linux File command for windows?
Running the command: file run.sh Gives me: run.sh: Bourne shell script text executable in Linux. Is there an equivalent command in Windows?
linux - How to check all timestamps of a file? - Super User
@FatalError, Birth time can be displayed with Linux stat command, see How to find creation date of file? and What file systems on Linux store the creation time?.
dd - How do I create a 1GB random file in Linux? - Super User
156 I am using the bash shell and would like to pipe the out of the command openssl rand -base64 1000 to the command dd such as dd if={output of openssl} of="sample.txt bs=1G …
tar - Extract 7z files with standard Linux tools? - Super User
I know that you can extract .7z files with 7-zip. Is there another standard Linux program that can do this? Maybe one of these tar bzip2 xz gzip I will add that bsdtar can do this, but is not avai...
What could cause the file command in Linux to report a text file as ...
Each file is clearly plain-text (I can view them in vi). What's causing file to misreport the type of these files? Could it be some sort of Unicode thing? Both of these files were created in …
xorg - How to start a linux gui program from the command line …
2 I have set my linux Mint to start up with command line only. Now I would like to run programs, such as VLC and Firefox, from the command line. I would like to do this without starting the …
linux - How to execute a command whenever a file changes?
I want a quick and simple way to execute a command whenever a file changes. I want something very simple, something I will leave running on a terminal and close it whenever I'm finished …
How to take sha256sum of file and compare to check in one line?
sha256sum path/to/file > sha256sum.txt 3. Compare the checksum of a file against a previously-stored or already-known checksum: Now, assuming you want to check the integrity of the file …
How to determine if a linux binary file is 32-bit or 64-bit?
ELF 64-bit LSB executable, x86-64 ELF is the Executable and Linkable Format, the binary executable file format most commonly used by Linux. x86-64 is the architecture of the binary, …
How do I show the header of a file in Unix? - Super User
3 head will show the first few lines of code in a file. A 'good' way of getting it into hex, pull the file into gvim and in the 'menu' (if you don't like typing abstract commands) there is an option to …