How to write/create a Ubuntu .iso to a bootable USB device on Linux using dd command

I downloaded a Ubuntu .iso file named artful-desktop-amd64.iso on a Debian Linux system. How do I write or burn a Ubuntu .iso to a USB device for installation purpose from Linux terminal?   You need…

How to get octal file permissions on Linux/Unix command line

I am a new Linux command line user. How do I find file permissions in octal format such as 0644 from the bash command line running on a Linux or Unix operating systems? How can…

How to install Firefox 57 Quantum on a Linux

M y Linux distro comes with Firefox ESR. I read Firefox 57 is over twice as fast as Firefox from 6 months ago, built on a completely overhauled core engine with brand new technology. How…

How to use a here documents to write data to a file in bash script

H ow do I use a heredoc redirection feature (here documents) to write data to a file in my bash shell scripts?   A here document is nothing but I/O redirection that tells the bash…

How to extract substring in Bash

I have a bash shell variable called u= this is a test . How can I extract the “test” string and store into a shell variable?   A substring is nothing but a string is…

How to find and tar files into a tar ball

I would like to find all documents file *.doc and create a tarball of those files and store in /nfs/backups/docs/file.tar. Is it possible to find and tar files on a Linux or Unix-like system?  …

Unix command to find a file in a directory and subdirectory

I think I lost (or forgot the file location) a file named toms-first-birthday.mp4 on my Unix based system. Is there is a Unix bash shell command to find a file called “toms-first-birthday.mp4” in a directory…

How to use/run bash aliases over ssh based session

I have set up a bash alias named file_repl. It works entirely when I log in using ssh command. However, my bash aliases are not running over ssh, for example: $ ssh vivek@server1.cyberciti.biz file_repl bash:…