Category "linux"

How to define a cron expression that execute a script in the first monday of each month?

I have a script such as that: * * * * * path/to/my/script.sh I need to define the cron expression " * * * * * " to run once a month in the first Monday of ea

Colors with unix command "watch"? [closed]

Some commands that I use display colors, but when I use them with watch the colors disappears: watch -n 1 node file.js Is it possible to ha

Backspace in zsh fails to work in quite the strange way

I'm on a fresh Virtualbox install of CentOS 6.4. After installing zsh 5.0.2 from source using ./configure --prefix=/usr && make && make install

why struct cdev has kobject member?

It's strange that struct cdev has struct kobject member, do any body knows the reason?

PhpStorm asks each time for a username and password for GitHub

I work with the operating system Linux-Mint and PhpStorm. Every time I make a push, fetch, pull etc. with PhpStorm, PhpStorm asks me for a username and password

why password less ssh not working?

I connected 3 data nodes(in all these data nodes pass-wordless is working fine) in my cluster which are working fine but when i try to connect another data node

Find multiple files and rename them in Linux

I am having files like a_dbg.txt, b_dbg.txt ... in a Suse 10 system. I want to write a bash shell script which should rename these files by removing "_dbg" from

hex code implementation for spawning a shell

I am trying to implement the codes given in smashing the stack for fun and profit by Aleph to learn the basics of buffer overflow attacks. Machine architecture:

hex code implementation for spawning a shell

I am trying to implement the codes given in smashing the stack for fun and profit by Aleph to learn the basics of buffer overflow attacks. Machine architecture:

hex code implementation for spawning a shell

I am trying to implement the codes given in smashing the stack for fun and profit by Aleph to learn the basics of buffer overflow attacks. Machine architecture:

Linux command to generate new GUID?

Sometimes in bash scripting, i need to generate new GUID(Global Unique Identifier). I already done that by a simple python script that generates a new guid: se

Implicit declaration of functions srand, rand and system

Trying to solve an exercise where I have to print a random temperature value between 35°C & -10°C every 5 seconds followed by the date and time. Eve

Implicit declaration of functions srand, rand and system

Trying to solve an exercise where I have to print a random temperature value between 35°C & -10°C every 5 seconds followed by the date and time. Eve

Implicit declaration of functions srand, rand and system

Trying to solve an exercise where I have to print a random temperature value between 35°C & -10°C every 5 seconds followed by the date and time. Eve