Skip to content

Tag: linux

No man page for the cd command

Ubuntu Linux 15.10 – I just noticed that there is no man page for cd This seems a bit strange. I tried: at the cmd line and I get back I was trying to find documentation on which is super-handy for flipping between the last dir and the current dir and cd — which seems to be an alias for

dump methods from shared libraries

to list all methods from a shared library I use the what has an output like this: But when I try to pipe the output of find into objdump like this I get this error: and this lib folder does contain a lot of shared library files. What is wrong with my command? SK Answer or objdump expects the name

File Encryption/Decryption with AES using Linux

I’m using the OpenWrt Linux distribution and I want to encrypt a file using AES. How can I do that quickly and easily, and how can I—or someone else—decrypt it again? Answer The quickest and easiest way is to use openssl util (provided by openssl-util package). For example, to encrypt a file, issue the …

Shell: How to check available space and exit if not enough?

I want to check if I do have enough space before executing my script. I thought about The space I want to check via Any suggestions? Answer Bringing it all together (set -e and cd omitted for brevity; Bash-specific syntax – not POSIX-compliant): df “$HOME” outputs stats about disk usage for …