You are here:

Unix/Linux OS/Questions Answered by Expert Suchitra Joshi

SubjectDate Asked
UNIX SHELL SCRIPTING6/16/2011
  Q: cron query same for all IBM-AIX,SOLARIS and HP-UX..please clarify..same syntax will work all the ...
  A: Please check the following links - http://en.wikipedia.org/wiki/Cron ...
Need Help Regarding Shell Script5/27/2011
  Q: I'm using Putty to remotely connect to the Unix Machine. I just want to download a .txt file in my ...
  A: For transferring files between Unix and Windows, you have to use ftp. Following are some examples - ...
taking output from12/8/2010
  Q: i am reading a configuration file and want to extract the values from it in my shell script. i want ...
  A: It is very difficult to give the actual code. But you can try using sed or awk programming ...
Shell Script Unix12/1/2010
  Q: in a shell script.i have an instruction "#cd ~lxt3/p31106" ,what does this mean?
  A: Also called a "squiggle" or "twiddle," the symbol is used as a prefix to a user login name to ...
awk in BASH script11/1/2010
  Q: When we create BASH scripts. Usually we will include shebang - #!/usr/bin/bash or #!/bin/bash at the ...
  A: Since the shebang indicates which interpreter to use for the scripts, the scripts with awk commands ...
best linux command line tut/book8/13/2010
  Q: I'm a programmer/student and if you can suggest any online tutorial or book that could get me even ...
  A: There are many sites you can visit (thr' google), once you know what exactly you want. Here are ...
Sun Solaris Or Linux5/19/2010
  Q: my name is prateek patwal.. i m graduate .. i m rhce certified. but i din't get job so far.. now i m ...
  A: I am not aware of rhce certification. But Sun Solaris is very good for your future. Many companies ...
incrimenting variable containing characters3/31/2010
  Q: how do we incriment variable that has characters? like a variable var has a value "c" and after ...
  A: I did not find any way to increment the letters other than the below one - alphabet="a b c d e" # ...
Linux commands3/10/2010
  Q: .Can I know what are the possible linux commands to find Cpu utilization per process other than ...
  A: Apart from top,ps,mpstat and sar commands, you can also use iostat to find CPU utilization. It ...
Linux or Solaris1/27/2010
  Q: Hey Suchitra, I am an expert just like you but on Microsoft platform. Now I want to learn ...
  A: I think both Linux and Solaris have equal opportunities in administration area. As far as OS is ...
unix12/8/2009
  Q: Madam,thank you for your previous replies to my questions,I have a couple of questions to ask ...
  A: Following are the answers - 1. grep -i "tendulkar," file-1 The -i option specifies that the case ...
use of "cat" command in unix12/7/2009
  Q: Madam, My question is about use of cat command to perform a series of action s in unix os ...
  A: Assuming you will type the text on screen, here are the commands - 1. cat Welcome Home - Type ...
multiple argements to script11/15/2009
  Q: How you feed multiple arguments to a script in bash? like ./script One Two Three Four ..so on (with ...
  A: You can try using the bash getopts function. Please see the below link- ...
echo command10/27/2009
  Q: If i want to output information about a file in this format: -rw------- 1 lczegel users 270 Jan ...
  A: Sorry for the delay. You can try creating a script with the following code in it. Let me know if it ...
echo command10/26/2009
  Q: If i want to output information about a file in this format: -rw------- 1 lczegel users 270 Jan ...
  A: You can use the ls command to display the files in particular directory as follows - ls -l (This ...
echo command10/26/2009
  Q: If i want to output information about a file in this format: -rw------- 1 lczegel users 270 Jan ...
  A: I am not sure what is stored in $file. But you can try one of the following and check whether it ...
Kernel version10/17/2009
  Q: I found google use linux as servers. http://en.wikipedia.org/wiki/Google_platform Can we know which ...
  A: I am not sure which kernel version Google uses and I think they do not disclose this information. ...
octal codes10/7/2009
  Q: a) How do octal access control codes work? b) How do you set access controls with command line ...
  A: I am assuming by octal access control codes that you mean the octal codes set for file access ...
display 30 days files10/5/2009
  Q: I am trying to write a script to delete every files in a directory except those that are less 30 ...
  A: To delete files (in directory /usr/your_dir) which are modified more than 30 days ago, there is a ...
hi9/2/2009
  Q: hi i was wondering do you know a good site where i can download pico or vi text editor for free for ...
  A: You can try following sites - http://www.vim.org/download.php ...
how to set up daemon with cron for python script8/20/2009
  Q: S. Jochi I want to set up a deamon with the cron command for a python script to execute every 10 ...
  A: If you are not able to run crontab -e, this means either of the following - 1) ...
query8/12/2009
  Q: guide me about the use of crontab command
  A: Here is the info about crontab - 1) Crontab commands crontab -e (Create new or edit existing file) ...
online linux man webpage3/20/2007
  Q: i am not on linux now. i am on XP now. but i need to MAN some commands. is there any webapge having ...
  A: Following site will be useful http://www.die.net/doc/linux/man/ You can go to the 'Names' section ...
checking process ID3/4/2007
  Q: from where do i get information about the process ID of a process.what command to use
  A: If you know what process you want to check for use the following ps -ef|grep <process> where ...
cpu utilization n memory utilization of a process12/27/2006
  Q: I want to get cpu utilization n memory utilization of a process through a script. Which will run ...
  A: You can write a script to get the cpu and memory utilization of a process using following statement ...
shell script12/5/2006
  Q: I have two questions:- 1) Is there any differences in using $variable_name and ${variable_name} to ...
  A: 1) both are same to get the variable value. But braces are used when something is to be appended to ...
ulimit -n problem11/30/2006
  Q: I am using “ulimit –n” to find number of file descriptor user can open. If I m running ...
  A: I am not sure of the problem. But you can check the shells in which the shell script is used and ...
unix11/29/2006
  Q: 1.What is hard link & soft link? 2.What is the utility of ln command? 3.Why we use hard link & ...
  A: Following sections give you the required details Hard Link A hard link is essentially a label or ...
AIX/UNIX script logging11/17/2006
  Q: I would like to log to a file each line run in any AIX script. I'm very new to AIX having spent ...
  A: I am not sure about AIX. But below is unix related material script is used to take a copy of ...
unix11/6/2006
  Q: 1.What is the role of caret(^) symbol? 2.Explain about sed command?
  A: 1) The caret symbol can actually have two different meanings in regular expressions. Most of the ...
unix10/19/2006
  Q: 1.What is utility of at command,batch command,cron command,kill command?
  A: Following are the details 1) at - Schedules a command to be ran at a particular time, such as a ...
unix9/25/2006
  Q: 1.What is the utility of echo command? 2.Why we use $ in unix? 3.What is the use of cat command? ...
  A: 1. echo is generally used to display the output on screen. eg. echo "This is a test program" or echo ...
Linux commands6/6/2006
  Q: I am using Ubuntu linux and I try to find the command in the shell: -Display the name of the current ...
  A: As I am using Unix, I am not sure of possible Linux commands. But you can try these out 1) Display ...

All Questions in This Category

Unix/Linux OS

All Answers


Answers by Expert:


Ask Experts

Volunteer


Suchitra Joshi

Top Expert on this page

Expertise

I can answer questions related to Basic Unix commands, shell scripts, sed, awk, job scheduling & vi editor.

Experience

15 years of experience in Unix and Shell scripting

Education/Credentials
B.Sc (Electronics), Diploma in Computer Applications (DCA)

©2012 About.com, a part of The New York Times Company. All rights reserved.