I am trying to set cronjob on a Unix systems by running the crontab -ecommand. But, I'm getting the following error:
crontab: no crontab for veryv - using an empty onecrontab: "/usr/bin/vi" exited with status 1
How do I fix this issue on a Linux or Unix-like systems?...
Tuesday, May 6, 2014
Monday, May 5, 2014
HowTo: Compile And Run a C/C++ Code In Linux
I am a new Linux user and student who used to write C or C++ programs on MS-Windows. Now, I am using Ubuntu Linux. How can I compile a C or C++ program on Linux operating systems using bash Terminal application?To compile a C or C++ program on any Linux distro such as Ubuntu, Red Hat, Fedora, Debian and other Linux distro you...
Sunday, May 4, 2014
Linux And Unix Command To View File
I am a new Linux bash shell command line user. How can I view a text file using command line on a Linux or Unix-like operating systems? How can I view (open) binary files such as PDF or images on a Linux or Unix like system from command line?You can use any one of the following command to view a text file or any other files...
Saturday, May 3, 2014
Friday, May 2, 2014
Linux / Unix: Find And List All Hidden Files Recursively
I am a new Unix system shell user. I need to find and list all hidden files including directories on a Linux or Unix-like system. How can I recursively list all hidden files and directories? How do I save result in a text file?
You need to use the find command to list all hidden files recursively on a Linux or Unix like s...
Thursday, May 1, 2014
OS X Terminal: -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory Fix
I'm a new Apple OS X Mabbook user. I am getting an error which read as follows when I connect to any remote Linux/Unix/BSD server or machine through OS X ssh Terminal app:
ssh user@server1.cyberciti.bizLast login: Wed Mar 26 08:45:36 2014 from 1.2.3.4-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No...