Top "Unix" questions

This tag is EXCLUSIVELY for PROGRAMMING questions that are directly related to Unix; general software issues should be directed to the Unix & Linux Stack Exchange site or to Super User.

How do I remove the passphrase for the SSH key without having to create a new key?

I set a passphrase when creating a new SSH key on my laptop. But, as I realise now, this is …

unix ssh passwords openssh passphrase
Restarting cron after changing crontab file?

Do I have to restart cron after changing the crontable file?

linux unix cron cron-task
Replace a string in shell script using a variable

I am using the below code for replacing a string inside a shell script. echo $LINE | sed -e 's/12345678/"$replace"/…

unix shell sed
How to get overall CPU usage (e.g. 57%) on Linux

I am wondering how you can get the system CPU usage and present it in percent using bash, for example. …

linux bash unix cpu
Remove carriage return in Unix

What is the simplest way to remove all the carriage returns \r from a file in Unix?

unix carriage-return
How to run Unix shell script from Java code?

It is quite simple to run a Unix command from Java. Runtime.getRuntime().exec(myCommand); But is it possible to …

java unix shell
What is the cleanest way to ssh and run multiple commands in Bash?

I already have an ssh agent set up, and I can run commands on an external server in Bash script …

bash unix ssh
127 Return code from $?

What is the meaning of return value 127 from $? in UNIX.

process unix
What's a concise way to check that environment variables are set in a Unix shell script?

I've got a few Unix shell scripts where I need to check that certain environment variables are set before I …

bash unix shell
What are .a and .so files?

I'm currently trying to port a C application to AIX and am getting confused. What are .a and .so files …

c unix compilation shared-libraries .a