10 FAQ tagged "syntax"
Viewing 1-10 of 10 FAQ -- Ubuntu Linux Configure Gateway / Default Routing IP Address
How do I configure default router or gateway IP address under Ubuntu Linux / Debian Linux? How do I change default router / gateway IP under Ubuntu Linux?
- Search Multiple Words / String Pattern Using grep Command
How do I search multiple string using grep command? For example I’d like to search word1, word2, word3 and so on within /path/to/file. How do I force grep to search multiple words?
- BASH Shell: How To Redirect stderr To stdout ( redirect stderr to a File )
Q. How do I redirect stderr to stdout? How do I redirect stderr to a file?
- Run crontab Every 10 Minutes
Q. How do I run a cron job or a shell script every 10 minutes using Linux / UNIX cron service?
- Printing output of c program to a file in Linux
Q. I’ve written a small program that does something useful for me. I always get output on screen. Sometime I need to send output to a file. How do I print output of my program to a file w/o making any changes to code?
A. Bash shell (and many other modern UNIX shell) supports the concept [...] - Linux / UNIX: Getting help with man page
Q. I’ve CentOS 5 server located in a remote data center. How do I get more help about command and its syntax?
A. Linux and UNIX comes with man (manual) pages. man command displays pages from reference manual. You can learn about command and it syntax. Each man page has following information:
=> Command name along [...] - Howto delete empty lines using sed command under Linux / UNIX
Q. I need to delete all empty lines but could not figure out sed command for the same? How do I delete all empty lines with sed?
A. sed is a stream editor and perfect for these kind of work.
You need to use d command under sed which is act as the delete function.
Sed [...] - Linux set date and time from command prompt
Q. How can I set the system date and time from the command prompt (bash shell)? I don’t have GUI installed and I am login over ssh session.
- Howto Compiling C program and creating executable file under Linux / UNIX / *BSD
Q. How do I compile C program and creating executable file under Linux or UNIX operating systems?
A. You need GNU project C and C++ compiler for compiling C program and creating an executable file. Most Unix and Linux (*BSD) start their C compiler by the name cc. But you can use gcc command to compile [...] - How to: Add or display today’s date from a shell script
Q. How can I display or show today’s UNIX computer date from a shell script using echo command? How do I store date command output to a variable?
A. Date command is use to print or set the system date and time under Linux/Unix like operating systems. However some time you need to include today’s date [...]
Viewing 1-10 of 10 FAQ - ( see all popular tags )


Recent Comments
Yesterday ~ 19 Comments
Yesterday ~ 1 Comment
Yesterday ~ 7 Comments
Yesterday ~ 2 Comments
Yesterday ~ 2 Comments